From 5966bf3318af98ac9a3eb901bbec27f4323cdc16 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 25 Jul 2024 11:50:54 +0100 Subject: [PATCH] Update snapshots (#4788) * Update snapshots * Update to use textual-snapshot v1.0.0 * Dont use xdist on CI * Update pytest-cov to fix warnings * Remove xdist thing from pythonpackage.yml GitHub workflow --- Makefile | 6 +- poetry.lock | 124 +- pyproject.toml | 9 +- .../__snapshots__/test_snapshots.ambr | 51233 ---------------- .../test_alignment_containers.svg | 158 + .../test_ansi_color_mapping[False].svg | 166 + .../test_ansi_color_mapping[True].svg | 164 + .../test_snapshots/test_app_blur.svg | 153 + .../test_snapshots/test_auto_fr.svg | 159 + .../test_snapshots/test_auto_grid.svg | 154 + .../test_auto_grid_default_height.svg | 155 + .../test_snapshots/test_auto_tab_active.svg | 161 + .../test_snapshots/test_auto_table.svg | 220 + .../test_snapshots/test_auto_width_input.svg | 155 + .../test_snapshots/test_big_buttons.svg | 154 + .../test_bindings_screen_overrides_show.svg | 153 + .../test_snapshots/test_blur_on_disabled.svg | 153 + .../test_snapshots/test_border_alpha.svg | 156 + .../test_snapshots/test_button_outline.svg | 152 + .../test_snapshots/test_button_widths.svg | 155 + .../test_button_with_console_markup.svg | 160 + .../test_button_with_multiline_label.svg | 153 + .../test_snapshots/test_buttons_render.svg | 181 + .../test_snapshots/test_checkbox_example.svg | 162 + .../test_collapsible_collapsed.svg | 156 + .../test_collapsible_custom_symbol.svg | 153 + .../test_collapsible_expanded.svg | 158 + .../test_collapsible_nested.svg | 154 + .../test_collapsible_render.svg | 157 + .../test_snapshots/test_columns_height.svg | 152 + .../test_snapshots/test_command_palette.svg | 157 + .../test_command_palette_discovery.svg | 157 + .../test_component_text_opacity.svg | 150 + .../test_content_switcher_example_initial.svg | 159 + .../test_content_switcher_example_switch.svg | 262 + .../test_snapshots/test_css_hot_reloading.svg | 150 + .../test_css_hot_reloading_on_screen.svg | 150 + .../test_css_property[align.py].svg | 153 + .../test_css_property[align_all.py].svg | 153 + .../test_css_property[background.py].svg | 150 + ...s_property[background_transparency.py].svg | 159 + .../test_css_property[border.py].svg | 153 + .../test_css_property[border_all.py].svg | 152 + ...roperty[border_sub_title_align_all.py].svg | 160 + ...css_property[border_subtitle_align.py].svg | 153 + ...st_css_property[border_title_align.py].svg | 153 + ...t_css_property[border_title_colors.py].svg | 153 + .../test_css_property[box_sizing.py].svg | 151 + .../test_css_property[color.py].svg | 152 + .../test_css_property[color_auto.py].svg | 154 + .../test_css_property[column_span.py].svg | 157 + .../test_css_property[content_align.py].svg | 152 + ...est_css_property[content_align_all.py].svg | 151 + .../test_css_property[display.py].svg | 151 + .../test_css_property[dock_all.py].svg | 151 + .../test_css_property[grid.py].svg | 152 + .../test_css_property[grid_columns.py].svg | 151 + .../test_css_property[grid_gutter.py].svg | 151 + .../test_css_property[grid_rows.py].svg | 151 + .../test_css_property[grid_size_both.py].svg | 151 + ...est_css_property[grid_size_columns.py].svg | 151 + .../test_css_property[hatch.py].svg | 156 + .../test_css_property[height.py].svg | 151 + ...est_css_property[height_comparison.py].svg | 159 + .../test_css_property[keyline.py].svg | 155 + ...st_css_property[keyline_horizontal.py].svg | 153 + .../test_css_property[layout.py].svg | 153 + .../test_css_property[link_background.py].svg | 153 + ...css_property[link_background_hover.py].svg | 151 + .../test_css_property[link_color.py].svg | 153 + ...test_css_property[link_color_hover.py].svg | 151 + .../test_css_property[link_style.py].svg | 153 + ...test_css_property[link_style_hover.py].svg | 151 + .../test_css_property[links.py].svg | 152 + .../test_css_property[margin.py].svg | 152 + .../test_css_property[margin_all.py].svg | 159 + .../test_css_property[max_height.py].svg | 154 + .../test_css_property[max_width.py].svg | 154 + .../test_css_property[min_height.py].svg | 155 + .../test_css_property[min_width.py].svg | 154 + .../test_css_property[offset.py].svg | 153 + .../test_css_property[opacity.py].svg | 159 + .../test_css_property[outline.py].svg | 152 + .../test_css_property[outline_all.py].svg | 152 + ...est_css_property[outline_vs_border.py].svg | 152 + .../test_css_property[overflow.py].svg | 154 + .../test_css_property[padding.py].svg | 150 + .../test_css_property[padding_all.py].svg | 158 + .../test_css_property[row_span.py].svg | 157 + ...ss_property[scrollbar_corner_color.py].svg | 151 + ...test_css_property[scrollbar_gutter.py].svg | 151 + .../test_css_property[scrollbar_size.py].svg | 151 + .../test_css_property[scrollbar_size2.py].svg | 154 + .../test_css_property[scrollbars.py].svg | 154 + .../test_css_property[scrollbars2.py].svg | 151 + .../test_css_property[text_align.py].svg | 157 + .../test_css_property[text_opacity.py].svg | 153 + .../test_css_property[text_style.py].svg | 153 + .../test_css_property[text_style_all.py].svg | 157 + .../test_css_property[tint.py].svg | 159 + .../test_css_property[visibility.py].svg | 151 + ...css_property[visibility_containers.py].svg | 156 + .../test_css_property[width.py].svg | 151 + ...test_css_property[width_comparison.py].svg | 159 + .../test_data_table_in_tabs.svg | 156 + .../test_datatable_add_column.svg | 153 + .../test_datatable_add_row_auto_height.svg | 153 + ...t_datatable_add_row_auto_height_sorted.svg | 153 + .../test_datatable_cell_padding.svg | 153 + .../test_datatable_change_cell_padding.svg | 153 + .../test_datatable_column_cursor_render.svg | 156 + .../test_datatable_hot_reloading.svg | 156 + .../test_datatable_labels_and_fixed_data.svg | 154 + .../test_datatable_remove_row.svg | 153 + .../test_snapshots/test_datatable_render.svg | 153 + .../test_datatable_row_cursor_render.svg | 155 + .../test_datatable_sort_multikey.svg | 153 + .../test_datatable_style_ordering.svg | 156 + .../test_snapshots/test_demo.svg | 187 + .../test_snapshots/test_digits.svg | 151 + .../test_directory_tree_reloading.svg | 155 + .../test_snapshots/test_disabled_widgets.svg | 180 + .../test_dock_layout_sidebar.svg | 152 + .../test_snapshots/test_dock_scroll.svg | 160 + .../test_snapshots/test_dock_scroll2.svg | 160 + .../test_dock_scroll_off_by_one.svg | 160 + .../test_snapshots/test_dynamic_bindings.svg | 155 + .../test_example_calculator.svg | 162 + .../test_example_color_command.svg | 152 + .../test_example_dictionary.svg | 157 + .../test_example_five_by_five.svg | 157 + .../test_snapshots/test_example_json_tree.svg | 160 + .../test_snapshots/test_example_markdown.svg | 162 + .../test_snapshots/test_example_merlin.svg | 158 + .../test_snapshots/test_example_pride.svg | 155 + .../test_focus_component_class.svg | 154 + .../test_footer_classic_styling.svg | 152 + .../test_snapshots/test_footer_compact.svg | 153 + .../test_footer_compact_with_hover.svg | 154 + .../test_snapshots/test_footer_render.svg | 153 + ..._footer_standard_after_reactive_change.svg | 153 + .../test_footer_standard_with_hover.svg | 154 + .../test_snapshots/test_fr_margins.svg | 156 + .../test_snapshots/test_fr_unit_with_min.svg | 154 + .../test_snapshots/test_fr_units.svg | 151 + .../test_snapshots/test_grid_auto.svg | 160 + .../test_snapshots/test_grid_gutter.svg | 156 + .../test_snapshots/test_grid_layout_basic.svg | 151 + .../test_grid_layout_basic_overflow.svg | 151 + .../test_grid_layout_gutter.svg | 151 + .../test_snapshots/test_hatch.svg | 157 + .../test_snapshots/test_header_render.svg | 151 + .../test_snapshots/test_horizontal_layout.svg | 151 + ...test_horizontal_layout_width_auto_dock.svg | 154 + .../test_snapshots/test_input_and_focus.svg | 154 + .../test_input_percentage_width.svg | 154 + .../test_snapshots/test_input_suggestions.svg | 156 + .../test_snapshots/test_input_validation.svg | 157 + .../test_snapshots/test_key_display.svg | 153 + .../test_snapshots/test_keyline.svg | 154 + .../test_snapshots/test_label_widths.svg | 153 + .../test_snapshots/test_layer_fix.svg | 155 + .../test_snapshots/test_layers.svg | 152 + .../test_snapshots/test_layout_containers.svg | 162 + .../test_line_api_scrollbars.svg | 151 + .../test_snapshots/test_list_view.svg | 153 + .../test_snapshots/test_listview_index.svg | 153 + .../test_snapshots/test_loading_indicator.svg | 154 + ...test_loading_indicator_disables_widget.svg | 155 + .../test_snapshots/test_log_write.svg | 150 + .../test_snapshots/test_log_write_lines.svg | 152 + .../test_snapshots/test_margin_multiple.svg | 153 + ...t_markdown_component_classes_reloading.svg | 161 + .../test_markdown_dark_theme_override.svg | 157 + .../test_snapshots/test_markdown_example.svg | 155 + .../test_markdown_light_theme_override.svg | 157 + .../test_markdown_space_squashing.svg | 163 + .../test_markdown_theme_switching.svg | 158 + .../test_markdown_viewer_example.svg | 160 + .../test_snapshots/test_max_height_100.svg | 153 + .../test_missing_vertical_scroll.svg | 155 + .../test_modal_dialog_bindings.svg | 154 + .../test_modal_dialog_bindings_input.svg | 159 + .../test_snapshots/test_mount_style_fix.svg | 152 + .../test_snapshots/test_multi_keys.svg | 153 + .../test_snapshots/test_multiple_css.svg | 152 + .../test_nested_auto_heights.svg | 155 + .../test_snapshots/test_nested_fr.svg | 152 + .../test_nested_specificity.svg | 153 + .../test_notification_with_inline_link.svg | 154 + ...st_notification_with_inline_link_hover.svg | 154 + .../test_notifications_example.svg | 158 + ...st_notifications_loading_overlap_order.svg | 136 + .../test_notifications_through_modes.svg | 153 + .../test_notifications_through_screens.svg | 153 + .../test_snapshots/test_offsets.svg | 152 + .../test_snapshots/test_option_list_build.svg | 157 + .../test_option_list_options.svg | 159 + ...prompt_from_single_line_to_single_line.svg | 156 + ...e_prompt_from_single_line_to_two_lines.svg | 156 + ...e_prompt_from_two_lines_to_three_lines.svg | 156 + ...est_option_list_scrolling_in_long_list.svg | 154 + ..._list_scrolling_with_multiline_options.svg | 160 + .../test_option_list_strings.svg | 156 + .../test_option_list_tables.svg | 160 + .../test_order_independence.svg | 155 + .../test_order_independence_toggle.svg | 155 + .../test_pilot_resize_terminal.svg | 94 + .../test_placeholder_disabled.svg | 151 + .../test_placeholder_render.svg | 161 + .../test_pretty_grid_gutter_interaction.svg | 86 + .../test_snapshots/test_print_capture.svg | 150 + .../test_programmatic_disable_button.svg | 156 + ...t_programmatic_scrollbar_gutter_change.svg | 151 + .../test_progress_bar_completed.svg | 154 + .../test_progress_bar_completed_styled.svg | 156 + .../test_progress_bar_halfway.svg | 155 + .../test_progress_bar_halfway_styled.svg | 157 + .../test_progress_bar_indeterminate.svg | 155 + ...test_progress_bar_indeterminate_styled.svg | 157 + .../test_snapshots/test_progress_gradient.svg | 167 + .../test_quickly_change_tabs.svg | 154 + .../test_radio_button_example.svg | 158 + .../test_snapshots/test_radio_set_example.svg | 159 + .../test_snapshots/test_recompose.svg | 154 + .../test_recompose_in_mount.svg | 159 + .../test_remove_with_auto_height.svg | 156 + .../test_snapshots/test_richlog_max_lines.svg | 150 + .../test_snapshots/test_richlog_scroll.svg | 150 + .../test_snapshots/test_richlog_width.svg | 150 + .../test_rule_horizontal_rules.svg | 151 + .../test_rule_vertical_rules.svg | 151 + .../test_snapshots/test_rules.svg | 151 + .../test_snapshots/test_scoped_css.svg | 152 + .../test_snapshots/test_screen_switch.svg | 154 + .../test_snapshots/test_scroll_to.svg | 161 + .../test_snapshots/test_scroll_to_center.svg | 155 + .../test_snapshots/test_scroll_visible.svg | 151 + .../test_scroll_visible_with_margin.svg | 155 + .../test_scrollbar_thumb_height.svg | 153 + .../test_snapshots/test_select.svg | 155 + .../test_snapshots/test_select_expanded.svg | 159 + .../test_select_expanded_changed.svg | 155 + .../test_select_from_values_expanded.svg | 159 + ...test_select_no_blank_has_default_value.svg | 155 + .../test_snapshots/test_select_rebuild.svg | 158 + .../test_select_set_options.svg | 155 + .../test_selection_list_selected.svg | 160 + .../test_selection_list_selections.svg | 158 + .../test_selection_list_tuples.svg | 158 + .../test_snapshots/test_sort_children.svg | 155 + ...est_sparkline_component_classes_colors.svg | 701 + .../test_snapshots/test_sparkline_render.svg | 236 + .../test_snapshots/test_switches.svg | 155 + .../test_snapshots/test_tab_rename.svg | 154 + .../test_snapshots/test_tabbed_content.svg | 159 + ...est_tabbed_content_styling_not_leaking.svg | 158 + ...test_tabbed_content_with_modified_tabs.svg | 159 + .../test_snapshots/test_table_markup.svg | 155 + .../test_snapshots/test_tabs_invalidate.svg | 155 + .../test_text_area_alternate_screen.svg | 98 + ...est_text_area_language_rendering[bash].svg | 475 + ...test_text_area_language_rendering[css].svg | 348 + .../test_text_area_language_rendering[go].svg | 352 + ...est_text_area_language_rendering[html].svg | 303 + ...est_text_area_language_rendering[java].svg | 493 + ...xt_area_language_rendering[javascript].svg | 389 + ...est_text_area_language_rendering[json].svg | 200 + ...t_text_area_language_rendering[kotlin].svg | 461 + ...text_area_language_rendering[markdown].svg | 350 + ...t_text_area_language_rendering[python].svg | 393 + ...st_text_area_language_rendering[regex].svg | 175 + ...est_text_area_language_rendering[rust].svg | 497 + ...test_text_area_language_rendering[sql].svg | 253 + ...est_text_area_language_rendering[toml].svg | 180 + ...est_text_area_language_rendering[yaml].svg | 228 + .../test_text_area_line_number_start.svg | 92 + ...t_text_area_read_only_cursor_rendering.svg | 78 + ...t_area_selection_rendering[selection0].svg | 90 + ...t_area_selection_rendering[selection1].svg | 90 + ...t_area_selection_rendering[selection2].svg | 90 + ...t_area_selection_rendering[selection3].svg | 90 + ...t_area_selection_rendering[selection4].svg | 89 + ...t_area_selection_rendering[selection5].svg | 89 + .../test_text_area_themes[css].svg | 100 + .../test_text_area_themes[dracula].svg | 99 + .../test_text_area_themes[github_light].svg | 102 + .../test_text_area_themes[monokai].svg | 100 + .../test_text_area_themes[vscode_dark].svg | 98 + .../test_text_area_wrapping_and_folding.svg | 166 + .../test_text_log_blank_write.svg | 150 + .../test_textual_dev_border_preview.svg | 157 + .../test_textual_dev_colors_preview.svg | 171 + .../test_textual_dev_easing_preview.svg | 167 + .../test_textual_dev_keys_preview.svg | 164 + .../test_toggle_style_order.svg | 159 + .../test_tooltips_in_compound_widgets.svg | 153 + .../test_tree_clearing_and_expansion.svg | 152 + .../test_snapshots/test_tree_example.svg | 152 + .../test_snapshots/test_unscoped_css.svg | 152 + .../test_snapshots/test_vertical_layout.svg | 151 + .../test_vertical_max_height.svg | 152 + .../test_vertical_min_height.svg | 152 + ...t_viewport_height_and_width_properties.svg | 151 + .../test_snapshots/test_visibility.svg | 152 + .../test_snapshots/test_welcome.svg | 157 + .../test_snapshots/test_width_100.svg | 152 + .../test_zero_scrollbar_size.svg | 150 + tests/test_slug.py | 2 + 309 files changed, 49787 insertions(+), 51300 deletions(-) delete mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots.ambr create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_alignment_containers.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_ansi_color_mapping[False].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_ansi_color_mapping[True].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_app_blur.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_fr.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_grid.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_grid_default_height.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_tab_active.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_table.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_width_input.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_big_buttons.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_bindings_screen_overrides_show.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_blur_on_disabled.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_border_alpha.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_button_outline.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_button_widths.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_button_with_console_markup.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_button_with_multiline_label.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_buttons_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_checkbox_example.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_collapsed.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_custom_symbol.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_expanded.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_nested.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_columns_height.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_command_palette.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_command_palette_discovery.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_component_text_opacity.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_initial.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_switch.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_hot_reloading.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_hot_reloading_on_screen.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[align.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[align_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[background.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[background_transparency.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_sub_title_align_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_subtitle_align.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_title_align.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_title_colors.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[box_sizing.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[color.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[color_auto.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[column_span.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[content_align.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[content_align_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[display.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[dock_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_columns.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_gutter.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_rows.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_size_both.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_size_columns.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[hatch.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[height.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[height_comparison.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[keyline.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[keyline_horizontal.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[layout.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_background.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_background_hover.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_color.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_color_hover.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_style.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_style_hover.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[links.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[margin.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[margin_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[max_height.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[max_width.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[min_height.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[min_width.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[offset.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[opacity.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline_vs_border.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[overflow.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[padding.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[padding_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[row_span.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_corner_color.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_gutter.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_size.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_size2.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbars.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbars2.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_align.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_opacity.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_style.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_style_all.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[tint.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[visibility.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[visibility_containers.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[width.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[width_comparison.py].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_data_table_in_tabs.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_column.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_row_auto_height.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_row_auto_height_sorted.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_cell_padding.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_change_cell_padding.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_column_cursor_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_hot_reloading.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_labels_and_fixed_data.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_remove_row.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_row_cursor_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_sort_multikey.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_style_ordering.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_demo.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_digits.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_directory_tree_reloading.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_disabled_widgets.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_layout_sidebar.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll2.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll_off_by_one.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_dynamic_bindings.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_example_calculator.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_example_color_command.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_example_dictionary.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_example_five_by_five.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_example_json_tree.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_example_markdown.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_example_merlin.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_example_pride.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_focus_component_class.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_classic_styling.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_compact.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_compact_with_hover.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_standard_after_reactive_change.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_standard_with_hover.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_margins.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_unit_with_min.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_units.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_auto.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_gutter.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_basic.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_basic_overflow.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_gutter.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_hatch.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_header_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_horizontal_layout.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_horizontal_layout_width_auto_dock.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_input_and_focus.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_input_percentage_width.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_input_suggestions.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_input_validation.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_key_display.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_keyline.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_label_widths.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_layer_fix.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_layers.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_layout_containers.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_line_api_scrollbars.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_list_view.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_listview_index.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_loading_indicator.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_loading_indicator_disables_widget.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_log_write.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_log_write_lines.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_margin_multiple.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_component_classes_reloading.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_dark_theme_override.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_example.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_light_theme_override.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_space_squashing.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_theme_switching.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_viewer_example.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_max_height_100.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_missing_vertical_scroll.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_modal_dialog_bindings.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_modal_dialog_bindings_input.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_mount_style_fix.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_multi_keys.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_multiple_css.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_auto_heights.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_fr.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_specificity.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_notification_with_inline_link.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_notification_with_inline_link_hover.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_example.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_loading_overlap_order.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_through_modes.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_through_screens.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_offsets.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_build.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_options.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_single_line_to_single_line.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_single_line_to_two_lines.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_two_lines_to_three_lines.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_scrolling_in_long_list.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_scrolling_with_multiline_options.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_strings.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_tables.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_order_independence.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_order_independence_toggle.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_pilot_resize_terminal.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_placeholder_disabled.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_placeholder_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_pretty_grid_gutter_interaction.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_print_capture.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_programmatic_disable_button.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_programmatic_scrollbar_gutter_change.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_completed.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_completed_styled.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_halfway.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_halfway_styled.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_indeterminate.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_indeterminate_styled.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_gradient.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_quickly_change_tabs.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_radio_button_example.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_radio_set_example.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_recompose.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_recompose_in_mount.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_remove_with_auto_height.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_max_lines.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_scroll.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_width.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_rule_horizontal_rules.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_rule_vertical_rules.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_rules.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_scoped_css.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_screen_switch.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_to.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_to_center.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_visible.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_visible_with_margin.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_scrollbar_thumb_height.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_select.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_select_expanded.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_select_expanded_changed.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_select_from_values_expanded.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_select_no_blank_has_default_value.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_select_rebuild.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_select_set_options.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_selected.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_selections.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_tuples.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_sort_children.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_sparkline_component_classes_colors.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_sparkline_render.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_switches.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_tab_rename.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content_styling_not_leaking.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content_with_modified_tabs.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_table_markup.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_tabs_invalidate.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_alternate_screen.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[bash].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[css].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[go].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[html].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[java].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[javascript].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[json].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[kotlin].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[markdown].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[python].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[regex].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[rust].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[sql].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[toml].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[yaml].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_line_number_start.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_read_only_cursor_rendering.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection0].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection1].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection2].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection3].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection4].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection5].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[css].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[dracula].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[github_light].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[monokai].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[vscode_dark].svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_wrapping_and_folding.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_text_log_blank_write.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_border_preview.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_colors_preview.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_easing_preview.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_keys_preview.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_toggle_style_order.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_tooltips_in_compound_widgets.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_tree_clearing_and_expansion.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_tree_example.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_unscoped_css.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_layout.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_max_height.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_min_height.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_viewport_height_and_width_properties.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_visibility.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_welcome.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_width_100.svg create mode 100644 tests/snapshot_tests/__snapshots__/test_snapshots/test_zero_scrollbar_size.svg diff --git a/Makefile b/Makefile index 8b5f8d2191..e4e7bdaf39 100644 --- a/Makefile +++ b/Makefile @@ -2,15 +2,15 @@ run := poetry run .PHONY: test test: - $(run) pytest --cov-report term-missing --cov=textual tests/ -vv + $(run) pytest --cov-report term-missing --cov=textual tests/ -n 16 --dist=loadgroup $(ARGS) .PHONY: unit-test unit-test: - $(run) pytest --cov-report term-missing --cov=textual tests/ -vv -m "not integration_test" + $(run) pytest --cov-report term-missing --cov=textual tests/ -m "not integration_test" -n 16 --dist=loadgroup $(ARGS) .PHONY: test-snapshot-update test-snapshot-update: - $(run) pytest --cov-report term-missing --cov=textual tests/ -vv --snapshot-update + $(run) pytest --cov-report term-missing --cov=textual tests/ --snapshot-update -n 16 --dist=loadgroup $(ARGS) .PHONY: coverage coverage: diff --git a/poetry.lock b/poetry.lock index 639c7a1f37..fa62ea1f85 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. [[package]] name = "aiohttp" @@ -371,16 +371,6 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -[[package]] -name = "colored" -version = "1.4.4" -description = "Simple library for color and formatting to terminal" -optional = false -python-versions = "*" -files = [ - {file = "colored-1.4.4.tar.gz", hash = "sha256:04ff4d4dd514274fe3b99a21bb52fb96f2688c01e93fba7bef37221e7cb56ce0"}, -] - [[package]] name = "coverage" version = "7.5.1" @@ -442,6 +432,9 @@ files = [ {file = "coverage-7.5.1.tar.gz", hash = "sha256:54de9ef3a9da981f7af93eafde4ede199e0846cd819eb27c88e2b712aae9708c"}, ] +[package.dependencies] +tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} + [package.extras] toml = ["tomli"] @@ -470,6 +463,20 @@ files = [ [package.extras] test = ["pytest (>=6)"] +[[package]] +name = "execnet" +version = "2.1.1" +description = "execnet: rapid multi-Python deployment" +optional = false +python-versions = ">=3.8" +files = [ + {file = "execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc"}, + {file = "execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"}, +] + +[package.extras] +testing = ["hatch", "pre-commit", "pytest", "tox"] + [[package]] name = "filelock" version = "3.14.0" @@ -1497,13 +1504,13 @@ extra = ["pygments (>=2.12)"] [[package]] name = "pytest" -version = "7.4.4" +version = "8.3.1" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8"}, - {file = "pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280"}, + {file = "pytest-8.3.1-py3-none-any.whl", hash = "sha256:e9600ccf4f563976e2c99fa02c7624ab938296551f280835ee6516df8bc4ae8c"}, + {file = "pytest-8.3.1.tar.gz", hash = "sha256:7e8e5c5abd6e93cb1cc151f23e57adc31fcf8cfd2a3ff2da63e23f732de35db6"}, ] [package.dependencies] @@ -1511,11 +1518,11 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=0.12,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} +pluggy = ">=1.5,<2" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] -testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] [[package]] name = "pytest-asyncio" @@ -1537,41 +1544,60 @@ testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] [[package]] name = "pytest-cov" -version = "2.12.1" +version = "5.0.0" description = "Pytest plugin for measuring coverage." optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.8" files = [ - {file = "pytest-cov-2.12.1.tar.gz", hash = "sha256:261ceeb8c227b726249b376b8526b600f38667ee314f910353fa318caa01f4d7"}, - {file = "pytest_cov-2.12.1-py2.py3-none-any.whl", hash = "sha256:261bb9e47e65bd099c89c3edf92972865210c36813f80ede5277dceb77a4a62a"}, + {file = "pytest-cov-5.0.0.tar.gz", hash = "sha256:5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857"}, + {file = "pytest_cov-5.0.0-py3-none-any.whl", hash = "sha256:4f0764a1219df53214206bf1feea4633c3b558a2925c8b59f144f682861ce652"}, ] [package.dependencies] -coverage = ">=5.2.1" +coverage = {version = ">=5.2.1", extras = ["toml"]} pytest = ">=4.6" -toml = "*" [package.extras] -testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] +testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] [[package]] name = "pytest-textual-snapshot" -version = "0.4.0" +version = "1.0.0" description = "Snapshot testing for Textual apps" optional = false -python-versions = ">=3.6,<4.0" +python-versions = "<4.0.0,>=3.8.1" files = [ - {file = "pytest_textual_snapshot-0.4.0-py3-none-any.whl", hash = "sha256:879cc5de29cdd31cfe1b6daeb1dc5e42682abebcf4f88e7e3375bd5200683fc0"}, - {file = "pytest_textual_snapshot-0.4.0.tar.gz", hash = "sha256:63782e053928a925d88ff7359dd640f2900e23bc708b3007f8b388e65f2527cb"}, + {file = "pytest_textual_snapshot-1.0.0-py3-none-any.whl", hash = "sha256:dd3a421491a6b1987ee7b4336d7f65299524924d2b0a297e69733b73b01570e1"}, + {file = "pytest_textual_snapshot-1.0.0.tar.gz", hash = "sha256:065217055ed833b8a16f2320a0613f39a0154e8d9fee63535f29f32c6414b9d7"}, ] [package.dependencies] jinja2 = ">=3.0.0" -pytest = ">=7.0.0" +pytest = ">=8.0.0" rich = ">=12.0.0" -syrupy = ">=3.0.0" +syrupy = ">=4.0.0" textual = ">=0.28.0" +[[package]] +name = "pytest-xdist" +version = "3.6.1" +description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pytest_xdist-3.6.1-py3-none-any.whl", hash = "sha256:9ed4adfb68a016610848639bb7e02c9352d5d9f03d04809919e2dafc3be4cca7"}, + {file = "pytest_xdist-3.6.1.tar.gz", hash = "sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d"}, +] + +[package.dependencies] +execnet = ">=2.1" +pytest = ">=7.0.0" + +[package.extras] +psutil = ["psutil (>=3.0)"] +setproctitle = ["setproctitle"] +testing = ["filelock"] + [[package]] name = "python-dateutil" version = "2.9.0.post0" @@ -1609,7 +1635,6 @@ files = [ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, - {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, @@ -1617,15 +1642,8 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, - {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, - {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, - {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, - {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, - {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, - {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, @@ -1642,7 +1660,6 @@ files = [ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, - {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, @@ -1650,7 +1667,6 @@ files = [ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, - {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, @@ -1866,18 +1882,17 @@ files = [ [[package]] name = "syrupy" -version = "3.0.6" +version = "4.6.1" description = "Pytest Snapshot Test Utility" optional = false -python-versions = ">=3.7,<4" +python-versions = ">=3.8.1,<4" files = [ - {file = "syrupy-3.0.6-py3-none-any.whl", hash = "sha256:9c18e22264026b34239bcc87ab7cc8d893eb17236ea7dae634217ea4f22a848d"}, - {file = "syrupy-3.0.6.tar.gz", hash = "sha256:583aa5ca691305c27902c3e29a1ce9da50ff9ab5f184c54b1dc124a16e4a6cf4"}, + {file = "syrupy-4.6.1-py3-none-any.whl", hash = "sha256:203e52f9cb9fa749cf683f29bd68f02c16c3bc7e7e5fe8f2fc59bdfe488ce133"}, + {file = "syrupy-4.6.1.tar.gz", hash = "sha256:37a835c9ce7857eeef86d62145885e10b3cb9615bc6abeb4ce404b3f18e1bb36"}, ] [package.dependencies] -colored = ">=1.3.92,<2.0.0" -pytest = ">=5.1.0,<8.0.0" +pytest = ">=7.0.0,<9.0.0" [[package]] name = "textual-dev" @@ -1897,17 +1912,6 @@ msgpack = ">=1.0.3" textual = ">=0.36.0" typing-extensions = ">=4.4.0,<5.0.0" -[[package]] -name = "toml" -version = "0.10.2" -description = "Python Library for Tom's Obvious, Minimal Language" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, - {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, -] - [[package]] name = "tomli" version = "2.0.1" @@ -2351,5 +2355,5 @@ syntax = ["tree-sitter", "tree-sitter-languages"] [metadata] lock-version = "2.0" -python-versions = "^3.8" -content-hash = "7cf7f99ade9d00e6b4b190af1563eaeccb55e4e8e424f67ace7da2e3e9c62308" +python-versions = "^3.8.1" +content-hash = "a632a2480a0262dcdbf49a456c2528dd6193a14cd00f203887dabab10c55c450" diff --git a/pyproject.toml b/pyproject.toml index 21faa4d742..609033f695 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ include = [ "Bug Tracker" = "https://github.com/Textualize/textual/issues" [tool.poetry.dependencies] -python = "^3.8" +python = "^3.8.1" markdown-it-py = { extras = ["plugins", "linkify"], version = ">=2.1.0" } rich = ">=13.3.3" #rich = {path="../rich", develop=true} @@ -64,15 +64,16 @@ mkdocstrings = { extras = ["python"], version = "^0.20.0" } mkdocstrings-python = "0.10.1" mypy = "^1.0.0" pre-commit = "^2.13.0" -pytest = "^7.1.3" +pytest = "^8.3.1" +pytest-xdist = "^3.6.1" pytest-asyncio = "*" -pytest-cov = "^2.12.1" -pytest-textual-snapshot = ">=0.4.0" +pytest-cov = "^5.0.0" textual-dev = "^1.2.0" types-setuptools = "^67.2.0.1" types-tree-sitter = "^0.20.1.4" types-tree-sitter-languages = "^1.7.0.1" isort = "^5.13.2" +pytest-textual-snapshot = "^1.0.0" [tool.pytest.ini_options] asyncio_mode = "auto" diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots.ambr b/tests/snapshot_tests/__snapshots__/test_snapshots.ambr deleted file mode 100644 index 2a5c2f8938..0000000000 --- a/tests/snapshot_tests/__snapshots__/test_snapshots.ambr +++ /dev/null @@ -1,51233 +0,0 @@ -# name: test_alignment_containers - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AlignContainersApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  center  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  middle  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - ''' -# --- -# name: test_ansi_color_mapping[False] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AnsiMappingApp - - - - - - - - - - Foreground & background                                                          - red - dim red - green - dim green - yellow - dim yellow - blue - dim blue - magenta - dim magenta - cyan - dim cyan - white - dim white - black - dim black - - - - - - - - - - - - ''' -# --- -# name: test_ansi_color_mapping[True] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AnsiMappingApp - - - - - - - - - - Foreground & background                                                          - red - dim red - green - dim green - yellow - dim yellow - blue - dim blue - magenta - dim magenta - cyan - dim cyan - white - dim white - black - dim black - - - - - - - - - - - - ''' -# --- -# name: test_app_blur - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AppBlurApp - - - - - - - - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - This should be the blur style      - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - This should also be the blur style - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - ''' -# --- -# name: test_auto_fr - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FRApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - ┌────────────────────────────┐ - Hello one line               - ┌──────────────────────────┐ - Widget#child - - - - - - - - - - - - - - └──────────────────────────┘ - - Two - Lines with 1x2 margin - - └────────────────────────────┘ - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_auto_grid - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GridApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - foo         ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - Longer label▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - └──────────────────────────────────────────────────────────────────────────────┘ - ┌──────────────────────────────────────────────────────────────────────────────┐ - foo▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - Longer label▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - └──────────────────────────────────────────────────────────────────────────────┘ - ┌──────────────────────────────────────────────────────────────────────────────┐ - foo bar foo bar foo bar foo ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - bar foo bar foo bar foo bar  - foo bar foo bar foo bar ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - Longer label                  ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_auto_grid_default_height - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GridHeightAuto - - - - - - - - - - GridHeightAuto - Here is some text before the grid                                                - ┌──────────────────────────────────────────────────────────────────────────────┐ - Cell #0                   Cell #1                   Cell #2                    - Cell #3                   Cell #4                   Cell #5                    - Cell #6                   Cell #7                   Cell #8                    - └──────────────────────────────────────────────────────────────────────────────┘ - Here is some text after the grid                                                 - - - - - - - - - - - - - - - -  g Grid  v Vertical  h Horizontal  c Container  - - - - - ''' -# --- -# name: test_auto_tab_active - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ExampleApp - - - - - - - - - - - Parent 1Parent 2 - ━━━━━━━━━━━━╸━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - - Child 2.1Child 2.2 - ━━━━━━━━━━━━━╸━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button 2.2  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - -  SPACE Focus button 2.2  - - - - - ''' -# --- -# name: test_auto_table - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - MyApp - ╭──────────────────╮╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - ok                ││test                                                                                               - ╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍││╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ - ││╭─ 0 ──────────────────────────────────────╮╭─ 1 ──────────────────────────────────────╮╭─ 2 ─────│ - │││││││ - │││ Foo       Bar         Baz              ││ Foo       Bar         Baz              ││ Foo      - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY▁▁││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY▁▁││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - │││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH - ││╰──────────────────────────────────────────╯╰──────────────────────────────────────────╯╰─────────│ - ││ - ╰──────────────────╯╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - ''' -# --- -# name: test_auto_width_input - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - InputWidthAutoApp - - - - - - - - - - InputWidthAutoApp - ▔▔▔▔▔▔▔▔▔▔ - Hello - ▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_big_buttons - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ButtonApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - -  Hello  - - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - -  Hello  -  World !!  - - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - ''' -# --- -# name: test_bindings_screen_overrides_show - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HideBindingApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  p Binding shown  - - - - - ''' -# --- -# name: test_blur_on_disabled - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BlurApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - foo                                                                        - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_border_alpha - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BorderAlphaApp - - - - - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - - - - - - - ''' -# --- -# name: test_button_outline - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ButtonIssue - - - - - - - - - - ┌──────────────┐ -  Test  - └──────────────┘ - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_button_widths - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HorizontalWidthAutoApp - - - - - - - - - - ┌────────────────────────────┐ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  This is a very wide button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - └────────────────────────────┘ - ┌────────────────────────────────────────────────────────┐ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  This is a very wide button  This is a very wide button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - └────────────────────────────────────────────────────────┘ - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_button_with_console_markup - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ButtonsWithMarkupApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Focused Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Blurred Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Disabled Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_button_with_multiline_label - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ButtonWithMultilineLabelApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  -  with  -  multi-line  -  label  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_buttons_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ButtonsApp - - - - - - - - - - - Standard ButtonsDisabled Buttons - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Default  Default  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Primary!  Primary!  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Success!  Success!  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Warning!  Warning!  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Error!  Error!  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - ''' -# --- -# name: test_checkbox_example - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CheckboxApp - - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - X Arrakis 😓 - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔ - X Caladan - ▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔ - X Chusuk - ▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - XGiedi Prime - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔ - XGinaz - ▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔ - X Grumman - ▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▃▃ - XKaitain - ▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - - - ''' -# --- -# name: test_collapsible_collapsed - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CollapsibleApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▶ Leto - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▶ Jessica - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▶ Paul - - - - - - - - - - - - - - - -  c Collapse All  e Expand All  - - - - - ''' -# --- -# name: test_collapsible_custom_symbol - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CollapsibleApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - >>> Togglev Toggle - - Hello, world.                        - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_collapsible_expanded - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CollapsibleApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▼ Leto - - # Duke Leto I Atreides - - Head of House Atreides.                                                    - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▼ Jessica - - - - Lady Jessica - -   Bene Gesserit and concubine of Leto, and mother of Paul and Alia. - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▼ Paul▆▆ - - - -  c Collapse All  e Expand All  - - - - - ''' -# --- -# name: test_collapsible_nested - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CollapsibleApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▼ Toggle - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▶ Toggle - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_collapsible_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CollapsibleApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▼ Leto - - # Duke Leto I Atreides - - Head of House Atreides.                                                      - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▼ Jessica - - - - Lady Jessica - -   Bene Gesserit and concubine of Leto, and mother of Paul and Alia. - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▶ Paul - - - -  c Collapse All  e Expand All  - - - - - ''' -# --- -# name: test_columns_height - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HeightApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - ┌────────────────────┐┌────────────────┐┌──────────────────────┐ - As tall as container││This has default││I have a static height - ││height││ - ││but a││ - ││few lines││ - │└────────────────┘│ - - - - - - - - - - └────────────────────┘└──────────────────────┘ - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - - - - - - - ''' -# --- -# name: test_command_palette - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CommandPaletteApp - - - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - 🔎A - - -   This is a test of this code 0                                                  -   This is a test of this code 1                                                  -   This is a test of this code 2                                                  -   This is a test of this code 3                                                  -   This is a test of this code 4                                                  -   This is a test of this code 5                                                  -   This is a test of this code 6                                                  -   This is a test of this code 7                                                  -   This is a test of this code 8                                                  -   This is a test of this code 9                                                  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - ''' -# --- -# name: test_command_palette_discovery - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CommandPaletteApp - - - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - 🔎Search for commands… - - -   This is a test of this code 0                                                  -   This is a test of this code 1                                                  -   This is a test of this code 2                                                  -   This is a test of this code 3                                                  -   This is a test of this code 4                                                  -   This is a test of this code 5                                                  -   This is a test of this code 6                                                  -   This is a test of this code 7                                                  -   This is a test of this code 8                                                  -   This is a test of this code 9                                                  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - ''' -# --- -# name: test_component_text_opacity - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TestApp - - - - - - - - - - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW - - - - - ''' -# --- -# name: test_content_switcher_example_initial - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ContentSwitcherApp - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  DataTable  Markdown  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ╭────────────────────────────────────────────────────────────────────╮ -  Book                                 Year  -  Dune                                 1965  -  Dune Messiah                         1969  -  Children of Dune                     1976  -  God Emperor of Dune                  1981  -  Heretics of Dune                     1984  -  Chapterhouse: Dune                   1985  - - - - - - - - - - - ╰────────────────────────────────────────────────────────────────────╯ - - - - - - ''' -# --- -# name: test_content_switcher_example_switch - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ContentSwitcherApp - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  DataTable  Markdown  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ╭─────────────────────────────────────────╮ - - - Three Flavours Cornetto - -   The Three Flavours Cornetto trilogy  -   is an anthology series of British  -   comedic genre films directed by Edgar   -   Wright. - - - Shaun of the Dead - - - UK Release   - Flavour   Date        Director    -    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━    -    Strawberry 2004-04-09   Edgar          -                            Wright         - - - - Hot Fuzz - - - UK Release    - Flavour Date         Director     -    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━    -    Classico 2007-02-17    Edgar Wright    - - - - The World's End - - - UK Release     - FlavourDate          Director     -    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━    -    Mint    2013-07-19     Edgar Wright    - - - - - - ╰─────────────────────────────────────────╯ - - - - - - ''' -# --- -# name: test_css_hot_reloading - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HotReloadingApp - - - - - - - - - - Hello, world!                                                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_hot_reloading_on_screen - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HotReloadingApp - - - - - - - - - - Hello, world!                                                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[align.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AlignApp - - - - - - - - - - - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - Vertical alignment with Textual - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - Take note, browsers. - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - - - - - - - - ''' -# --- -# name: test_css_property[align_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AlignAllApp - - - - - - - - - - ┌────────────────────────┐┌────────────────────────┐┌────────────────────────┐ - left topcenter topright top - - - - - └────────────────────────┘└────────────────────────┘└────────────────────────┘ - - ┌────────────────────────┐┌────────────────────────┐┌────────────────────────┐ - - - left middlecenter middleright middle - - - └────────────────────────┘└────────────────────────┘└────────────────────────┘ - - ┌────────────────────────┐┌────────────────────────┐┌────────────────────────┐ - - - - - - left bottomcenter bottomright bottom - └────────────────────────┘└────────────────────────┘└────────────────────────┘ - - - - - ''' -# --- -# name: test_css_property[background.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BackgroundApp - - - - - - - - - - - - - Widget 1 - - - - - - - - Widget 2 - - - - - - - - Widget 3 - - - - - - - - - ''' -# --- -# name: test_css_property[background_transparency.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BackgroundTransparencyApp - - - - - - - - - - - - - - - - - - - - - 10%20%30%40%50%60%70%80%90%100% - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[border.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BorderApp - - - - - - - - - - - ┌────────────────────────────────────────────────────────────────────────────┐ - - My border is solid red - - └────────────────────────────────────────────────────────────────────────────┘ - - ┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓ - - My border is dashed green - - ┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - My border is tall blue - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - ''' -# --- -# name: test_css_property[border_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AllBordersApp - - - - - - - - - - - +----------------+┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓╔═════════════════╗ - |ascii|blankdasheddouble - +----------------+┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛╚═════════════════╝ - - - - ┏━━━━━━━━━━━━━━━━┓▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▗▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▖ - heavyhidden/nonehkeyinner - ┗━━━━━━━━━━━━━━━━┛▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▝▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▘ - - - - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜█████████████████▎╭────────────────╮┌─────────────────┐ - outerpanelroundsolid - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎╰────────────────╯└─────────────────┘ - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█▏                ▕▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - tallthickvkeywide - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▏                ▕▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - - - - - ''' -# --- -# name: test_css_property[border_sub_title_align_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BorderSubTitleAlignAll - - - - - - - - - - - - ▏  Border title      ▕╭─ Lef… ─╮▁▁▁▁▁ Left ▁▁▁▁▁ - This is the story ofa Pythondeveloper that - ▏   Border subtitle  ▕╰─ Cen… ─╯▔▔▔▔▔ @@@ ▔▔▔▔▔▔ - - - - - - +--------------+─Title───────────────── - |had to fill up|             nine labels          and ended up redoing it   - +- Left -------+──────────────Subtitle─ - - - - - ─Title, but really looo…─ - ─Title, but r…──Title, but reall…─ - because the first try       had some labels          that were too long.     - ─Subtitle, bu…──Subtitle, but re…─ - ─Subtitle, but really l…─ - - - - - - - ''' -# --- -# name: test_css_property[border_subtitle_align.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BorderSubtitleAlignApp - - - - - - - - - - - ┌────────────────────────────────────────────────────────────────────────────┐ - - My subtitle is on the left. - - └─ < Left ───────────────────────────────────────────────────────────────────┘ - - ┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓ - - My subtitle is centered - - ┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ Centered! ╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎ - - My subtitle is on the right - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ Right > ▁▎ - - - - - - - - - - - ''' -# --- -# name: test_css_property[border_title_align.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BorderTitleAlignApp - - - - - - - - - - - ┌─ < Left ───────────────────────────────────────────────────────────────────┐ - - My title is on the left. - - └────────────────────────────────────────────────────────────────────────────┘ - - ┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ Centered! ╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓ - - My title is centered - - ┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Right > ▔▎ - - My title is on the right - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎ - - - - - - - - - - - ''' -# --- -# name: test_css_property[border_title_colors.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BorderTitleApp - - - - - - - - - - - - - - - - ┏━ Textual Rocks ━━━━━━━━━━━━━┓ - - - - - Hello, World! - - - - - ┗━━━━━━━━━━━━━ Textual Rocks ━┛ - - - - - - - - - - - - ''' -# --- -# name: test_css_property[box_sizing.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BoxSizingApp - - - - - - - - - - - -   ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁   - - I'm using border-box! - -   ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔   - - -   ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁   - - I'm using content-box! - - - - - -   ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔   - - - - - - - - - - - ''' -# --- -# name: test_css_property[color.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ColorApp - - - - - - - - - - - - - I'm red! - - - - - - - - I'm rgb(0, 255, 0)! - - - - - - - - I'm hsl(240, 100%, 50%)! - - - - - - - - - ''' -# --- -# name: test_css_property[color_auto.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ColorApp - - - - - - - - - - - The quick brown fox jumps over the lazy dog! - - - - - The quick brown fox jumps over the lazy dog! - - - - - The quick brown fox jumps over the lazy dog! - - - - - The quick brown fox jumps over the lazy dog! - - - - - The quick brown fox jumps over the lazy dog! - - - - - - - ''' -# --- -# name: test_css_property[column_span.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - - - #p1 - - - - - - #p2#p3 - - - - - - #p4#p5 - - - - - - #p6#p7 - - - - - - - - ''' -# --- -# name: test_css_property[content_align.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ContentAlignApp - - - - - - - - - - - With content-align you can... - - - - - - - - - - ...Easily align content... - - - - - - - - - - - ...Horizontally and vertically! - - - - - - ''' -# --- -# name: test_css_property[content_align_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AllContentAlignApp - - - - - - - - - - left topcenter topright top - - - - - - - - - - - left middlecenter middleright middle - - - - - - - - - - - - left bottomcenter bottomright bottom - - - - - ''' -# --- -# name: test_css_property[display.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DisplayApp - - - - - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - ┃Widget 1 - - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - ┃Widget 3 - - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[dock_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DockAllApp - - - - - - - - - - - - - ╭──────────────────────────────────────────────────────────╮ -                            top                             - - - - - - - left                                                 right - - - - - - - -                           bottom                           - ╰──────────────────────────────────────────────────────────╯ - - - - - - - - ''' -# --- -# name: test_css_property[grid.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GridApp - - - - - - - - - - - Grid cell 1Grid cell 2 - - row-span: 3; - column-span: 2; - - - Grid cell 3 - - - - - - Grid cell 4 - - - - - - Grid cell 5Grid cell 6Grid cell 7 - - - - - - - - - ''' -# --- -# name: test_css_property[grid_columns.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ╭──────────╮╭──────────────╮╭──────────────────────╮╭──────────╮╭──────────────╮ - 1fr││width = 16││2fr││1fr││width = 16 - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ╰──────────╯╰──────────────╯╰──────────────────────╯╰──────────╯╰──────────────╯ - ╭──────────╮╭──────────────╮╭──────────────────────╮╭──────────╮╭──────────────╮ - 1fr││width = 16││2fr││1fr││width = 16 - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ││││││││ - ╰──────────╯╰──────────────╯╰──────────────────────╯╰──────────╯╰──────────────╯ - - - - - ''' -# --- -# name: test_css_property[grid_gutter.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ╭─────────────────────────────────────╮╭─────────────────────────────────────╮ - - 12 - - ╰─────────────────────────────────────╯╰─────────────────────────────────────╯ - - ╭─────────────────────────────────────╮╭─────────────────────────────────────╮ - - 34 - - ╰─────────────────────────────────────╯╰─────────────────────────────────────╯ - - ╭─────────────────────────────────────╮╭─────────────────────────────────────╮ - - 56 - - ╰─────────────────────────────────────╯╰─────────────────────────────────────╯ - - ╭─────────────────────────────────────╮╭─────────────────────────────────────╮ - - 78 - - - ╰─────────────────────────────────────╯╰─────────────────────────────────────╯ - - - - - ''' -# --- -# name: test_css_property[grid_rows.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - 1fr││1fr - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - ││ - height = 6││height = 6 - ││ - ││ - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - ││ - 25%││25% - ││ - ││ - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - 1fr││1fr - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - ││ - height = 6││height = 6 - ││ - ││ - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - - - - - ''' -# --- -# name: test_css_property[grid_size_both.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - ││ - 1││2 - ││ - ││ - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - ││ - 3││4 - ││ - ││ - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - ╭──────────────────────────────────────╮ - - 5 - - - ╰──────────────────────────────────────╯ - - - - - - - - - - - ''' -# --- -# name: test_css_property[grid_size_columns.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - ││ - ││ - 1││2 - ││ - ││ - ││ - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ - ││ - ││ - 3││4 - ││ - ││ - ││ - ╰──────────────────────────────────────╯╰──────────────────────────────────────╯ - ╭──────────────────────────────────────╮ - - - 5 - - - - ╰──────────────────────────────────────╯ - - - - - ''' -# --- -# name: test_css_property[hatch.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HatchApp - - - - - - - - - - ┌─ cross ──────┐┌─ horizontal ─┐┌─ custom ─────┐┌─ left ───────┐┌─ right ──────┐ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - └──────────────┘└──────────────┘└──────────────┘└──────────────┘└──────────────┘ - - - - - ''' -# --- -# name: test_css_property[height.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HeightApp - - - - - - - - - - Widget - - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[height_comparison.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HeightComparisonApp - - - - - - - - - - #cells· - · - · - #percent· - - · - #w· - · - · - - #h· - · - · - · - #vw - · - · - · - #vh· - - #auto· - #fr1· - #fr2· - · - - - - - ''' -# --- -# name: test_css_property[keyline.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KeylineApp - - - - - - - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓ - - - #foo - - - ┣━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┫#bar - - - Placeholder - - - ┣━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━┫ - - - #baz - - - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - - - ''' -# --- -# name: test_css_property[keyline_horizontal.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KeylineApp - - - - - - - - - - ┌─────────────────────────┬─────────────────────────┬──────────────────────────┐ - - - - - - - - - - - PlaceholderPlaceholderPlaceholder - - - - - - - - - - - - └─────────────────────────┴─────────────────────────┴──────────────────────────┘ - - - - - ''' -# --- -# name: test_css_property[layout.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LayoutApp - - - - - - - - - - - Layout - - Is - - Vertical - - - LayoutIsHorizontal - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[link_background.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkBackgroundApp - - - - - - - - - - Visit the Textualize website.                                                    - Click here for the bell sound.                                                   - You can also click here for the bell sound.                                      - Exit this application. - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[link_background_hover.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkHoverBackgroundApp - - - - - - - - - - Visit the Textualize website.                                                    - Click here for the bell sound.                                                   - You can also click here for the bell sound.                                      - Exit this application. - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[link_color.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkColorApp - - - - - - - - - - Visit the Textualize website.                                                    - Click here for the bell sound.                                                   - You can also click here for the bell sound.                                      - Exit this application. - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[link_color_hover.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkHoverColorApp - - - - - - - - - - Visit the Textualize website.                                                    - Click here for the bell sound.                                                   - You can also click here for the bell sound.                                      - Exit this application. - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[link_style.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkStyleApp - - - - - - - - - - Visit the Textualize website.                                                    - Click here for the bell sound.                                                   - You can also click here for the bell sound.                                      - Exit this application. - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[link_style_hover.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinkHoverStyleApp - - - - - - - - - - Visit the Textualize website.                                                    - Click here for the bell sound.                                                   - You can also click here for the bell sound.                                      - Exit this application. - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[links.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LinksApp - - - - - - - - - - Here is a link which you can click! - - Here is a link which you can click! - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[margin.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarginApp - - - - - - - - - - - - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see  - its path. - Where the fear has gone there will be nothing. Only I will  - remain. - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[margin_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarginAllApp - - - - - - - - - - ╭────────────────╮╭─────────────────╮╭────────────────╮╭─────────────────╮ - - - - marginmargin: 1  - no marginmargin: 1: 1 51 2 6 - - - - - ╰────────────────╯╰─────────────────╯╰────────────────╯╰─────────────────╯ - - ╭────────────────╮╭─────────────────╮╭────────────────╮╭─────────────────╮ - - - margin-bottom: 4 - - margin-right: margin-left: 3 - 3 - margin-top: 4 - - - - ╰────────────────╯╰─────────────────╯╰────────────────╯╰─────────────────╯ - - - - - ''' -# --- -# name: test_css_property[max_height.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MaxHeightApp - - - - - - - - - - - - - max-height: 10w - max-height: 10 - max-height: 50% - - - - - - max-height: 999 - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[max_width.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MaxWidthApp - - - - - - - - - - - - max-width:  - 50h - - - - - max-width: 999 - - - - - - max-width: 50% - - - - - - max-width: 30 - - - - - - - - ''' -# --- -# name: test_css_property[min_height.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MinHeightApp - - - - - - - - - - - - - - - min-height: 25% - - - min-height: 75% - - - - - - min-height: 30 - min-height: 40w - - - ▃▃ - - - - - - - - - - ''' -# --- -# name: test_css_property[min_width.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MinWidthApp - - - - - - - - - - - - min-width: 25% - - - - - min-width: 75% - - - - - - min-width: 100 - - - - - - min-width: 400h - - - - - - - - - ''' -# --- -# name: test_css_property[offset.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OffsetApp - - - - - - - - - - - Chani (offset 0  - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜-3) - - - - ▌Paul (offset 8 2)▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ - - - - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ - - - ▌Duncan (offset 4  - ▌10) - - - - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ - - - - - - - - - ''' -# --- -# name: test_css_property[opacity.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OpacityApp - - - - - - - - - - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ - opacity: 0% - - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ - - opacity: 25% - - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ - - opacity: 50% - - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ - - opacity: 75% - - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ - - opacity: 100% - - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ - - - - - ''' -# --- -# name: test_css_property[outline.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OutlineApp - - - - - - - - - - - - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ear is the mind-killer. - ear is the little-death that brings total obliteration. -  will face my fear. -  will permit it to pass over me and through me. - nd when it has gone past, I will turn the inner eye to see its - ath. - here the fear has gone there will be nothing. Only I will  - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[outline_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AllOutlinesApp - - - - - - - - - - +------------------+┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓ - |ascii|blankdashed - +------------------+┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛ - - - ╔══════════════════╗┏━━━━━━━━━━━━━━━━━━┓ - doubleheavyhidden/none - ╚══════════════════╝┗━━━━━━━━━━━━━━━━━━┛ - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▗▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▖ - hkeyinnernone - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▝▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▘ - - - ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜╭──────────────────╮┌──────────────────┐ - outerroundsolid - ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟╰──────────────────╯└──────────────────┘ - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎▏                  ▕▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - tallvkeywide - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎▏                  ▕▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - - - - ''' -# --- -# name: test_css_property[outline_vs_border.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OutlineBorderApp - - - - - - - - - - ╭───────────────────────────────────────────────────────────────────╮ - ear is the mind-killer. - ear is the little-death that brings total obliteration. -  will face my fear. -  will permit it to pass over me and through me. - nd when it has gone past, I will turn the inner eye to see its path - here the fear has gone there will be nothing. Only I will remain. - ╰───────────────────────────────────────────────────────────────────╯ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path. - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ╭─────────────────────────────────────────────────────────────────────╮ - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path. - ╰─────────────────────────────────────────────────────────────────────╯ - - - - - ''' -# --- -# name: test_css_property[overflow.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OverflowApp - - - - - - - - - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - I must not fear.I must not fear. - Fear is the mind-killer.Fear is the mind-killer. - Fear is the little-death that Fear is the little-death that  - brings total obliteration.brings total obliteration. - I will face my fear.I will face my fear. - I will permit it to pass over meI will permit it to pass over me  - and through me.and through me. - And when it has gone past, I And when it has gone past, I will  - will turn the inner eye to see turn the inner eye to see its  - its path.▁▁path. - Where the fear has gone there Where the fear has gone there will - will be nothing. Only I will be nothing. Only I will remain. - remain.▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁I must not fear. - I must not fear.Fear is the mind-killer. - Fear is the mind-killer.Fear is the little-death that  - Fear is the little-death that brings total obliteration. - brings total obliteration.I will face my fear. - I will face my fear.I will permit it to pass over me  - I will permit it to pass over meand through me. - - - - - ''' -# --- -# name: test_css_property[padding.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PaddingApp - - - - - - - - - - - - - - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its  - path. - Where the fear has gone there will be nothing. Only I will  - remain. - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[padding_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PaddingAllApp - - - - - - - - - - no padding - padding: 1padding:padding: 1 1 - 1 52 6 - - - - - - - - - - padding-right: 3padding-bottom: 4padding-left: 3 - - - - padding-top: 4 - - - - - - - - - - - - ''' -# --- -# name: test_css_property[row_span.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - - - #p4 - - - #p3 - - - #p2 - - - #p1 - - - #p5 - - - #p6 - - - #p7 - - - - - - - - ''' -# --- -# name: test_css_property[scrollbar_corner_color.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollbarCornerColorApp - - - - - - - - - - I must not fear. Fear is the mind-killer. Fear is the little-death that brings - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path. - Where the fear has gone there will be nothing. Only I will remain.▅▅ - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path. - Where the fear has gone there will be nothing. Only I will remain. - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path. - Where the fear has gone there will be nothing. Only I will remain. - I must not fear. - - - - - - ''' -# --- -# name: test_css_property[scrollbar_gutter.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollbarGutterApp - - - - - - - - - - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path. - Where the fear has gone there will be nothing. Only I will remain. - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[scrollbar_size.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollbarApp - - - - - - - - - - - - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration.▁▁▁▁ - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path. - Where the fear has gone there will be nothing. Only I will remain. - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[scrollbar_size2.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollbarApp - - - - - - - - - - I must not fear.I must not fear.I must not fear. - Fear is the mind-killer.Fear is the mind-killer.Fear is the mind-killer. - Fear is the little-death Fear is the little-death tFear is the little-death  - I will face my fear.I will face my fear.I will face my fear. - I will permit it to pass I will permit it to pass oI will permit it to pass  - And when it has gone pastAnd when it has gone past,And when it has gone past - Where the fear has gone tWhere the fear has gone thWhere the fear has gone t - I must not fear.I must not fear.I must not fear. - Fear is the mind-killer.Fear is the mind-killer.Fear is the mind-killer. - Fear is the little-death Fear is the little-death tFear is the little-death  - I will face my fear.I will face my fear.I will face my fear.▇▇ - I will permit it to pass I will permit it to pass oI will permit it to pass  - And when it has gone pastAnd when it has gone past,And when it has gone past - Where the fear has gone tWhere the fear has gone thWhere the fear has gone t - I must not fear.I must not fear.I must not fear. - Fear is the mind-killer.Fear is the mind-killer.Fear is the mind-killer. - Fear is the little-death Fear is the little-death tFear is the little-death  - I will face my fear.I will face my fear.I will face my fear. - I will permit it to pass I will permit it to pass oI will permit it to pass  - And when it has gone past, - Where the fear has gone th - I must not fear. - Fear is the mind-killer. - - - - - - ''' -# --- -# name: test_css_property[scrollbars.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollbarApp - - - - - - - - - - I must not fear.I must not fear. - Fear is the mind-killer.Fear is the mind-killer. - Fear is the little-death that brings tFear is the little-death that brings t - I will face my fear.I will face my fear. - I will permit it to pass over me and tI will permit it to pass over me and t - And when it has gone past, I will turnAnd when it has gone past, I will turn - see its path.see its path. - Where the fear has gone there will be Where the fear has gone there will be  - will remain.will remain. - I must not fear.I must not fear. - Fear is the mind-killer.Fear is the mind-killer. - Fear is the little-death that brings tFear is the little-death that brings t - I will face my fear.I will face my fear. - I will permit it to pass over me and tI will permit it to pass over me and t - And when it has gone past, I will turnAnd when it has gone past, I will turn - see its path.▃▃see its path.▃▃ - Where the fear has gone there will be Where the fear has gone there will be  - will remain.will remain. - I must not fear.I must not fear. - Fear is the mind-killer.Fear is the mind-killer. - Fear is the little-death that brings tFear is the little-death that brings t - I will face my fear.I will face my fear. - I will permit it to pass over me and tI will permit it to pass over me and t - - - - - - ''' -# --- -# name: test_css_property[scrollbars2.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Scrollbar2App - - - - - - - - - - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path.          - Where the fear has gone there will be nothing. Only I will remain. - I must not fear. - Fear is the mind-killer.▇▇ - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path.          - Where the fear has gone there will be nothing. Only I will remain. - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - I will face my fear. - I will permit it to pass over me and through me. - And when it has gone past, I will turn the inner eye to see its path.          - Where the fear has gone there will be nothing. Only I will remain. - I must not fear. - Fear is the mind-killer. - Fear is the little-death that brings total obliteration. - - - - - ''' -# --- -# name: test_css_property[text_align.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAlign - - - - - - - - - - - Left alignedCenter aligned - I must not fear. Fear is the            I must not fear. Fear is the     - mind-killer. Fear is the                  mind-killer. Fear is the       - little-death that brings total         little-death that brings total    - obliteration. I will face my fear. Iobliteration. I will face my fear. I - will permit it to pass over me and   will permit it to pass over me and  - through me.                                     through me.              - - - - - - Right alignedJustified -         I must not fear. Fear is theI  must  not  fear.  Fear   is   the -             mind-killer. Fear is themind-killer.     Fear     is     the -       little-death that brings totallittle-death   that   brings   total - obliteration. I will face my fear. Iobliteration. I will face my fear. I -   will permit it to pass over me andwill permit it to pass over  me  and -                          through me.through me. - - - - - - - - - ''' -# --- -# name: test_css_property[text_opacity.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextOpacityApp - - - - - - - - - - - - - -                                text-opacity: 25%                                 - - - - -                                text-opacity: 50%                                 - - - - -                                text-opacity: 75%                                 - - - - -                                text-opacity: 100%                                - - - - - - - - - ''' -# --- -# name: test_css_property[text_style.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextStyleApp - - - - - - - - - - I must not fear.I must not fear.I must not fear. - Fear is the mind-killer.Fear is the mind-killer.Fear is the mind-killer. - Fear is the little-death Fear is the little-death Fear is the little-death  - that brings total that brings total that brings total  - obliteration.obliteration.obliteration. - I will face my fear.I will face my fear.I will face my fear. - I will permit it to pass I will permit it to pass I will permit it to pass  - over me and through me.over me and through me.over me and through me. - And when it has gone past,And when it has gone past, And when it has gone past,  - I will turn the inner eye I will turn the inner eye I will turn the inner eye  - to see its path.to see its path.to see its path. - Where the fear has gone Where the fear has gone Where the fear has gone  - there will be nothing. there will be nothing. Onlythere will be nothing. Only - Only I will remain.I will remain.I will remain. - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[text_style_all.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AllTextStyleApp - - - - - - - - - - -   nonebolditalicreverse -   I must not fear.I must not fear.I must not fear.I must not fear. -   Fear is the Fear is the Fear is the Fear is the  -   mind-killer.mind-killer.mind-killer.mind-killer. -   Fear is the Fear is the Fear is the Fear is the  -   little-death that  little-death that little-death thatlittle-death that  -   brings total brings total brings total brings total  -   obliteration.obliteration.obliteration.obliteration. -   I will face my I will face my I will face my I will face my  -   fear.fear.fear.fear. - - strikeunderlinebold italicreverse strike - I must not fear.I must not fear.I must not fear.I must not fear. - Fear is the Fear is the Fear is the Fear is the  - mind-killer.mind-killer.mind-killer.mind-killer. - Fear is the Fear is the Fear is the Fear is the  - little-death thatlittle-death that little-death thatlittle-death that  - brings total brings total brings total brings total  - obliteration.obliteration.obliteration.obliteration. - I will face my I will face my I will face my I will face my  - fear.fear.fear.fear. - I will permit it I will permit it I will permit it I will permit it  - - - - - - ''' -# --- -# name: test_css_property[tint.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TintApp - - - - - - - - - - - tint: green 0%; - - - tint: green 10%; - - - tint: green 20%; - - - tint: green 30%; - - - tint: green 40%; - - - tint: green 50%; - ▄▄ - - tint: green 60%; - - - tint: green 70%; - - - - - - ''' -# --- -# name: test_css_property[visibility.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VisibilityApp - - - - - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - ┃Widget 1 - - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - ┃Widget 3 - - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[visibility_containers.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VisibilityContainersApp - - - - - - - - - - - - - PlaceholderPlaceholderPlaceholder - - - - - - - - - - - - - - - - PlaceholderPlaceholderPlaceholder - - - - - - - - - ''' -# --- -# name: test_css_property[width.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WidthApp - - - - - - - - - - Widget - - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_css_property[width_comparison.py] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WidthComparisonApp - - - - - - - - - - - - - - - - - - - - - #cells#percent#w#h#vw#vh#auto#fr1#fr3 - - - - - - - - - - - - ····•····•····•····•····•····•····•····•····•····•····•····•····•····•····•····• - - - - - ''' -# --- -# name: test_data_table_in_tabs - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dashboard - - - - - - - - - - - Workflows - ━╸━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - -  Id   Description  Status  Result Id  -  1    2            3       4          -  a    b            c       d          -  fee  fy           fo      fum        - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_add_column - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AddColumn - - - - - - - - - -  Movies          No Default  With Default  Long Default          -  Severance       ABC           01234567890123456789  -  Foundation      ABC           01234567890123456789  -  Dark            Hello!      ABC           01234567890123456789  -  The Boys        ABC           01234567890123456789  -  The Last of Us  ABC           01234567890123456789  -  Lost in Space   ABC           01234567890123456789  -  Altered Carbon  ABC           01234567890123456789  - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_add_row_auto_height - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AutoHeightRowsApp - - - - - - - - - -  N  Column      -  3  hey there   -  1  hey there   -  5  long        -  string      -  2  ╭───────╮   -  │ Hello │   -  │ world │   -  ╰───────╯   -  4  1           -  2           -  3           -  4           -  5           -  6           -  7           - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_add_row_auto_height_sorted - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AutoHeightRowsApp - - - - - - - - - -  N  Column      -  1  hey there   -  2  ╭───────╮   -  │ Hello │   -  │ world │   -  ╰───────╯   -  3  hey there   -  4  1           -  2           -  3           -  4           -  5           -  6           -  7           -  5  long        -  string      - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_cell_padding - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableApp - - - - - - - - - - - one  two  three - valuevalueval   - -  one    two    three  -  value  value  val    - -   one      two      three   -   value    value    val     - -    one        two        three    -    value      value      val      - -     one          two          three     -     value        value        val       - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_change_cell_padding - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableApp - - - - - - - - - - - one  two  three - valuevalueval   - -  one    two    three  -  value  value  val    - -   one      two      three   -   value    value    val     - -    one        two        three    -    value      value      val      - -           one                      two                      three           -           value                    value                    val             - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_column_cursor_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableApp - - - - - - - - - -  lane  swimmer               country        time   -  4     Joseph Schooling      Singapore      50.39  -  2     Michael Phelps        United States  51.14  -  5     Chad le Clos          South Africa   51.14  -  6     László Cseh           Hungary        51.14  -  3     Li Zhuhao             China          51.26  -  8     Mehdy Metella         France         51.58  -  7     Tom Shields           United States  51.73  -  1     Aleksandr Sadovnikov  Russia         51.84  - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_hot_reloading - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DataTableHotReloadingApp - - - - - - - - - -  A           B     -  one         two   -  three       four  -  five        six   - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_labels_and_fixed_data - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableApp - - - - - - - - - -  lane  swimmer               country        time   -  0  5     Chad le Clos          South Africa   51.14  -  1  4     Joseph Schooling      Singapore      50.39  -  2  2     Michael Phelps        United States  51.14  -  3  6     László Cseh           Hungary        51.14  -  4  3     Li Zhuhao             China          51.26  -  5  8     Mehdy Metella         France         51.58  -  6  7     Tom Shields           United States  51.73  -  7  10    Darren Burns          Scotland       51.84  -  8  1     Aleksandr Sadovnikov  Russia         51.84  - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_remove_row - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableApp - - - - - - - - - -  lane  swimmer               country        time   -  5     Chad le Clos          South Africa   51.14  -  4     Joseph Schooling      Singapore      50.39  -  6     László Cseh           Hungary        51.14  -  3     Li Zhuhao             China          51.26  -  7     Tom Shields           United States  51.73  -  10    Darren Burns          Scotland       51.84  - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableApp - - - - - - - - - -  lane  swimmer               country        time   -  4     Joseph Schooling      Singapore      50.39  -  2     Michael Phelps        United States  51.14  -  5     Chad le Clos          South Africa   51.14  -  6     László Cseh           Hungary        51.14  -  3     Li Zhuhao             China          51.26  -  8     Mehdy Metella         France         51.58  -  7     Tom Shields           United States  51.73  -  1     Aleksandr Sadovnikov  Russia         51.84  -  10    Darren Burns          Scotland       51.84  - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_row_cursor_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableApp - - - - - - - - - -  lane  swimmer               country        time   -  4     Joseph Schooling      Singapore      50.39  -  2     Michael Phelps        United States  51.14  -  5     Chad le Clos          South Africa   51.14  -  6     László Cseh           Hungary        51.14  -  3     Li Zhuhao             China          51.26  -  8     Mehdy Metella         France         51.58  -  7     Tom Shields           United States  51.73  -  1     Aleksandr Sadovnikov  Russia         51.84  - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_sort_multikey - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableApp - - - - - - - - - -  lane  swimmer               country        time   -  4     Joseph Schooling      Singapore      50.39  -  2     Michael Phelps        United States  51.14  -  5     Chad le Clos          South Africa   51.14  -  6     László Cseh           Hungary        51.14  -  3     Li Zhuhao             China          51.26  -  8     Mehdy Metella         France         51.58  -  7     Tom Shields           United States  51.73  -  1     Aleksandr Sadovnikov  Russia         51.84  -  10    Darren Burns          Scotland       51.84  - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_datatable_style_ordering - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DataTableCursorStyles - - - - - - - - - - Foreground is 'css', background is 'css':                                        -  Movies      -  Severance   - Foundation - Dark - - Foreground is 'css', background is 'renderable':                                 -  Movies      - Severance - Foundation - Dark - - Foreground is 'renderable', background is 'renderable':                          -  Movies      - Severance - Foundation - Dark - - Foreground is 'renderable', background is 'css':                                 -  Movies      - Severance - Foundation - Dark - - - - - - ''' -# --- -# name: test_demo - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Textual Demo - - - - - - - - - - Textual Demo - - - TOP - - ▆▆ - - Widgets - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - Rich contentTextual Demo - - Welcome! Textual is a framework for creating sophisticated - applications with the terminal.                            - CSS - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Start  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - - - - - - -  ^b Sidebar  ^t Toggle Dark mode  ^s Screenshot  f1 Notes  ^q Quit  - - - - - ''' -# --- -# name: test_digits - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DigitApp - - - - - - - - - - ╺━┓  ┓ ╻ ╻╺━┓╺━┓                                                                 -  ━┫  ┃ ┗━┫┏━┛  ┃                                                                 - ╺━┛.╺┻╸  ╹┗━╸  ╹                                                                 -                       ┏━┓ ┓ ╺━┓╺━┓╻ ╻┏━╸┏━╸╺━┓┏━┓┏━┓                             -                       ┃ ┃ ┃ ┏━┛ ━┫┗━┫┗━┓┣━┓  ┃┣━┫┗━┫╺╋╸╺━╸                       -                       ┗━┛╺┻╸┗━╸╺━┛  ╹╺━┛┗━┛  ╹┗━┛╺━┛      .,                     -                                                               ╺━┓    ┓ ┏━┓ ^ ╻ ╻ -                                                                ━┫ ×  ┃ ┃ ┃   ┗━┫ -                                                               ╺━┛   ╺┻╸┗━┛     ╹ - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_directory_tree_reloading - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DirectoryTreeReloadApp - - - - - - - - - - 📂 test_directory_tree_reloading0 - ├── 📂 b1 - │   ├── 📂 c1 - │   │   ┣━━ 📂 d1 - │   │   ┃   ┣━━ 📄 f1.txt - │   │   ┃   ┗━━ 📄 f2.txt - │   │   ┣━━ 📄 f1.txt - │   │   ┗━━ 📄 f2.txt - │   ├── 📄 f1.txt - │   └── 📄 f2.txt - ├── 📄 f1.txt - └── 📄 f2.txt - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_disabled_widgets - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WidgetDisableTestApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  Button  Button  Button  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  Button  Button  Button  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  Button  Button  Button  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  Button  Button  Button  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  Button  Button  Button  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  Button  Button  Button  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  Button  Button  Button  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  Button  Button  Button  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_dock_layout_sidebar - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DockLayoutExample - - - - - - - - - - Sidebar1Docking a widget removes it from the layout and  - fixes its position, aligned to either the top,  - right, bottom, or left edges of a container. - - Docked widgets will not scroll out of view,  - making them ideal for sticky headers, footers,  - and sidebars. - ▇▇ - Docking a widget removes it from the layout and  - fixes its position, aligned to either the top,  - right, bottom, or left edges of a container. - - Docked widgets will not scroll out of view,  - making them ideal for sticky headers, footers,  - and sidebars. - - Docking a widget removes it from the layout and  - fixes its position, aligned to either the top,  - right, bottom, or left edges of a container. - - Docked widgets will not scroll out of view,  - making them ideal for sticky headers, footers,  - and sidebars. - - - - - - ''' -# --- -# name: test_dock_scroll - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TestApp - - - - - - - - - - TestApp - ┌─────────┐ - this - is - a - sample - sentence - and - here - are - some - wordsthis - is - a - sample - sentence - and - here - are - some - words -  ^q Quit  - - - ▇▇ - - - - - ''' -# --- -# name: test_dock_scroll2 - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TestApp - - - - - - - - - - TestApp - ┌─────────┐ - this - is - a - sample - sentence - and - here - are - some - wordsthis - is - a▅▅ - sample - sentence - and - here - are - some - words -  ^q Quit  - - - - - - - - ''' -# --- -# name: test_dock_scroll_off_by_one - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollOffByOne - - - - - - - - - - ▔▔▔▔▔▔▔▔ - X 92 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 93 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 94 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 95 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 96 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 97 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 98 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 99▁▁ - ▁▁▁▁▁▁▁▁ - - - - - - ''' -# --- -# name: test_dynamic_bindings - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BindingsApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  a  c  - - - - - ''' -# --- -# name: test_example_calculator - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CalculatorApp - - - - - - - - - - - -                                                                      ┏━┓ -                                                                      ┃ ┃ -                                                                      ┗━┛ - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  AC  +/-  %  ÷  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  7  8  9  ×  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  4  5  6  -  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  2  3  +  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▅▅ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - - - ''' -# --- -# name: test_example_color_command - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Press ctrl + \ and type a color - - - - - - - - - - Press ctrl + \ and type a color - - - - - ansi_red - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_example_dictionary - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DictionaryApp - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Search for a word - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - - - - - - - - - - - - - - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - ''' -# --- -# name: test_example_five_by_five - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5x5 -- A little annoying puzzle - - - - - - - - - - 5x5 -- A little annoying puzzleMoves: 0Filled: 5 - ╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ - ││││││││ - ││││││││ - ╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ - ╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ - ││││ - ││││ - ╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ - ╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ - ││││ - ││││ - ││││ - ╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ - ╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ - ││││ - ││││ - ╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ - ╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ - ││││││││ - ││││││││ - ││││││││ - ╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ -  n New Game  ? Help  q Quit  ^d Toggle Dark Mode  - - - - - ''' -# --- -# name: test_example_json_tree - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TreeApp - - - - - - - - - - TreeApp - ▼ Root - └── ▼ {} JSON▁▁ -     ├── code='5060292302201' -     ├── ▼ {} product -     │   ┣━━ _id='5060292302201' -     │   ┣━━ ▶ [] _keywords -     │   ┣━━ ▶ [] added_countries_tags -     │   ┣━━ ▶ [] additives_debug_tags -     │   ┣━━ additives_n=2 -     │   ┣━━ additives_old_n=2 -     │   ┣━━ ▶ [] additives_old_tags -     │   ┣━━ ▶ [] additives_original_tags -     │   ┣━━ ▶ [] additives_prev_original_tags -     │   ┣━━ ▶ [] additives_tags -     │   ┣━━ additives_tags_n=None -     │   ┣━━ allergens='en:milk' -     │   ┣━━ ▶ [] allergens_debug_tags -     │   ┣━━ allergens_from_ingredients='en:milk, milk' -     │   ┣━━ allergens_from_user='(en) en:milk' -     │   ┣━━ ▶ [] allergens_hierarchy -     │   ┣━━ ▶ [] allergens_tags - -  a Add node  c Clear  t Toggle root  - - - - - ''' -# --- -# name: test_example_markdown - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarkdownApp - - - - - - - - - - - ▼ Ⅰ Textual Markdown Browser - └── Ⅱ Do You Want to Know More?Textual Markdown Browser - -   Welcome fellow adventurer! If you ran  - markdown.py from the terminal you are  -   viewing demo.md with Textual's built in      -   Markdown widget. - -   The widget supports much of the Markdown     -   spec. There is also an optional Table of     -   Contents sidebar which you will see to  -   your left. - - - Do You Want to Know More? - -   See example.md for more examples of what     -   this can do. - - - - -  t TOC  b Back  f Forward  - - - - - ''' -# --- -# name: test_example_merlin - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MerlinApp - - - - - - - - - - - - ┏━┓   ┏━┓┏━┓   ┏━┓┏━┓ - ┃ ┃ : ┃ ┃┃ ┃ : ┃ ┃┃ ┃ - ┗━┛   ┗━┛┗━┛   ┗━┛┗━┛ - - - █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ - -     7         8         9      - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - -     4         5         6      - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - -     1         2         3      - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▇▇ - - - - - ''' -# --- -# name: test_example_pride - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PrideApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_focus_component_class - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - StyleBugApp - - - - - - - - - - StyleBugApp - test widget 0 - test widget 1 - test widget 2 - test widget 3 - test widget 4 - test widget 5 - test widget 6 - test widget 7 - test widget 8 - test widget 9 - test widget 10 - test widget 11 - test widget 12▇▇ - test widget 13 - test widget 14 - test widget 15 - test widget 16 - test widget 17 - test widget 18 - test widget 19 - test widget 20 - test widget 21 - - - - - - ''' -# --- -# name: test_footer_classic_styling - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ClassicFooterStylingApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  CTRL+T  Toggle Dark mode  CTRL+Q  Quit                                          - - - - - ''' -# --- -# name: test_footer_compact - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ToggleCompactFooterApp - - - - - - - - - - - - - - - - - - - - -                                  Compact Footer                                  - - - - - - - - - - - - ^t Toggle Compact Footer^q Quit - - - - - ''' -# --- -# name: test_footer_compact_with_hover - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ToggleCompactFooterApp - - - - - - - - - - - - - - - - - - - - -                                  Compact Footer                                  - - - - - - - - - - - - ^t Toggle Compact Footer^q Quit - - - - - ''' -# --- -# name: test_footer_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FooterApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  q Quit the app  ? Show help screen  delete Delete the thing  - - - - - ''' -# --- -# name: test_footer_standard_after_reactive_change - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ToggleCompactFooterApp - - - - - - - - - - - - - - - - - - - - -                                 Standard Footer                                  - - - - - - - - - - - -  ^t Toggle Compact Footer  ^q Quit  - - - - - ''' -# --- -# name: test_footer_standard_with_hover - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ToggleCompactFooterApp - - - - - - - - - - - - - - - - - - - - -                                 Standard Footer                                  - - - - - - - - - - - -  ^t Toggle Compact Footer  ^q Quit  - - - - - ''' -# --- -# name: test_fr_margins - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TestApp - - - - - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - - - Hello - - - - - - - World - - - - - - - !! - - - - - - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - ''' -# --- -# name: test_fr_unit_with_min - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScreenSplitApp - - - - - - - - - - ScreenSplitApp - This is content This is content number 0 - number 0This is content number 1 - This is content ▄▄This is content number 2 - number 1This is content number 3 - This is content This is content number 4▁▁ - number 2This is content number 5 - This is content This is content number 6 - number 3This is content number 7 - This is content This is content number 8 - number 4This is content number 9 - This is content This is content number 10 - number 5This is content number 11 - This is content This is content number 12 - number 6This is content number 13 - This is content This is content number 14 - number 7This is content number 15 - This is content This is content number 16 - number 8This is content number 17 - This is content This is content number 18 - number 9This is content number 19 - This is content This is content number 20 - number 10This is content number 21 - - - - - - ''' -# --- -# name: test_fr_units - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FRApp - - - - - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - HEADER - - - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ┏━━━━━━━━┓┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓┏━━━━━━┓ - foo┃┃bar┃┃baz - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┃┃┃┃ - ┗━━━━━━━━┛┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛┗━━━━━━┛ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - FOOTER - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - ''' -# --- -# name: test_grid_auto - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KeylineApp - - - - - - - - - - ┌──┬──┬──┐ - abc - ├──┼──┼──┤ - def - ├──┼──┼──┤ - ghi - └──┴──┴──┘ - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_grid_gutter - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Demonstrator - - - - - - - - - - - - ┌──────────────────────────────────────────────────────────┐ - - Information - ━╸━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎ - aaa naa aaaaa aaa aaaan, aaa aaa, aaaa?", aa aaa - aaaaanaaa anaaaaaaana aaaaaaaa aaaaaana aaa      - aaaaa aa aaa, aa aaaaaaaaa aaa aaaa, "aaaa, an   - aaaa aaa aaaa, a aa". "aaaa, naa aaaaaaaaaaa,    - aaa a aaaa aaaaaanaa aaaa aa a aaa!", aaa        - anaaaa, aaaaa aaaaaaaa aanaaaaa. "Na! aaa naa.   - aaaaa. aa aaaaa naa. aaaaa aa na aaa.", aaa      - aaaaaaaa aaaanaaaaa DONE.                        - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎ - - - - - └──────────────────────────────────────────────────────────┘ - - - - - - - ''' -# --- -# name: test_grid_layout_basic - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GridLayoutExample - - - - - - - - - - ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ - One││Two││Three - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - └────────────────────────┘└─────────────────────────┘└─────────────────────────┘ - ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ - Four││Five││Six - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - └────────────────────────┘└─────────────────────────┘└─────────────────────────┘ - - - - - ''' -# --- -# name: test_grid_layout_basic_overflow - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GridLayoutExample - - - - - - - - - - ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ - One││Two││Three - ││││ - ││││ - ││││ - ││││ - ││││ - └────────────────────────┘└─────────────────────────┘└─────────────────────────┘ - ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ - Four││Five││Six - ││││ - ││││ - ││││ - ││││ - ││││ - └────────────────────────┘└─────────────────────────┘└─────────────────────────┘ - ┌────────────────────────┐ - Seven - - - - - - └────────────────────────┘ - - - - - ''' -# --- -# name: test_grid_layout_gutter - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - GridLayoutExample - - - - - - - - - - OneTwoThree - - - - - - - - - - - - FourFiveSix - - - - - - - - - - - - - - - - ''' -# --- -# name: test_hatch - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HatchApp - - - - - - - - - - ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╱╱╱╱╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳────────────────────────────────────────────────────────╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──┌─ Hello World ────────────────────────────────────┐──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──││││││││││││││││││││││││││││││││││││││││││││││││││──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──││││││││││││││││││││││││││││││││││││││││││││││││││──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──││││┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼││││──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──││││┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼Hatched┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼││││──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──││││┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼││││──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──││││┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼││││──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──││││││││││││││││││││││││││││││││││││││││││││││││││──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──││││││││││││││││││││││││││││││││││││││││││││││││││──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳──└──────────────────────────────────────────────────┘──╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳────────────────────────────────────────────────────────╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╱╱╱╱ - ╱╱╱╱╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╱╱╱╱ - ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱ - - - - - ''' -# --- -# name: test_header_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HeaderApp - - - - - - - - - - HeaderApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_horizontal_layout - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HorizontalLayoutExample - - - - - - - - - - ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ - One││Two││Three - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - ││││ - └────────────────────────┘└─────────────────────────┘└─────────────────────────┘ - - - - - ''' -# --- -# name: test_horizontal_layout_width_auto_dock - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HorizontalAutoWidth - - - - - - - - - - Docke - Widget 1Widget 2 - left  - 1Docked left 2 - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_input_and_focus - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - InputApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Darren                                                                     - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Burns - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_input_percentage_width - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - InputVsTextArea - - - - - - - - - - 01234567890123456789012345678901234567890123456789012345678901234567890123456789 - ┌──────────────────────────────────────┐ - - - - └──────────────────────────────────────┘ - ┌──────────────────────────────────────┐ - - - - - └──────────────────────────────────────┘ - ┌──────────────────────────────────────┐ - - - - - └──────────────────────────────────────┘ - ┌──────────────────────────────────────┐ - -  Button  - - - └──────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_input_suggestions - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FruitsApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - strawberry - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - straw                                                                      - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - p                                                                          - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - b                                                                          - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - a                                                                          - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - ''' -# --- -# name: test_input_validation - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - InputApp - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - -2                                                                     - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 3                                                                      - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - -2 - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Enter a number between 1 and 5 - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - ''' -# --- -# name: test_key_display - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KeyDisplayApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  ? Question  ^q Quit app  Escape! Escape  a Letter A  - - - - - ''' -# --- -# name: test_keyline - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KeylineApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - 1 - ├──────────────────────────────────────────────────────────────────────────────┤ - 2 - ├──────────────────────────────────────────────────────────────────────────────┤ - 3 - - └──────────────────────────────────────────────────────────────────────────────┘ - ┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - 456 - - - - - - ┗━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - ╔══════════════════════════════════════╦═══════════════════════════════════════╗ - 78 - - ╠══════════════════════════════════════╬═══════════════════════════════════════╝ - 9 - - - ╚══════════════════════════════════════╝ - - - - - ''' -# --- -# name: test_label_widths - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LabelWrap - - - - - - - - - - - - - - - - Apple Banana Cherry Mango Fig Guava Pineapple:Dragon Unicorn Centaur Phoenix Ch - - - Apple Banana Cherry Mango Fig Guava Pineapple:Dragon Unicorn Centaur Phoenix  - Chimera Castle - - - ╭────────────────────────────────────────────────────────────────────────────╮ - │ Apple Banana Cherry Mango Fig Guava Pineapple:Dragon Unicorn Centaur       │ - │ Phoenix Chimera Castle                                                     │ - ╰────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - - - - - ''' -# --- -# name: test_layer_fix - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DialogIssueApp - - - - - - - - - - DialogIssueApp - - - - - - ╭──────────────────────────────────────╮ - - - - - This should not cause a scrollbar to a - - - - - - ╰──────────────────────────────────────╯ - - - - - -  d Toggle the dialog  - - - - - ''' -# --- -# name: test_layers - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LayersExample - - - - - - - - - - - - - - - - - - - - - box1 (layer = above) - - - - - - box2 (layer = below) - - - - - - - - - - - ''' -# --- -# name: test_layout_containers - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Accept  Decline  Accept  Decline  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Accept  Accept  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Decline  Decline  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▆▆ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - 0                                 0 - - 1000000                                 1000000                                - - - - - ''' -# --- -# name: test_line_api_scrollbars - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollViewApp - - - - - - - - - - - -                                  11 01234567 -                                  12 01234567 -                                  13 01234567 -                                  14 01234567 -                                  15 01234567▁▁ -                                  16 01234567 -                                  17 01234567 -                                  18 01234567 -                                  19 01234567 - -                                  11 01234567 -                                  12 01234567 -                                  13 01234567 -                                  14 01234567 -                                  15 01234567▁▁ -                                  16 01234567 -                                  17 01234567 -                                  18 01234567 -                                  19 01234567 - - - - - - - - ''' -# --- -# name: test_list_view - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ListViewExample - - - - - - - - - - - - - - - - - - One - - - Two - - - Three - - - - - - - - - - - - - - ''' -# --- -# name: test_listview_index - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ListViewIndexApp - - - - - - - - - - 10                                                                             - 12                                                                             - 14                                                                             - 16                                                                            ▆▆ - 18                                                                             - 20                                                                             - 22                                                                             - 24                                                                             - 26                                                                             - 28                                                                             - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_loading_indicator - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LoadingOverlayRedux - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - foo barfoo barfoo barfoo barfoo    - bar                                - foo barfoo barfoo barfoo barfoo   ▄▄ - bar                                - foo barfoo barfoo barfoo barfoo    - bar                                - foo barfoo barfoo barfoo barfoo    - bar                                - foo barfoo barfoo barfoo barfoo    - bar                                - Loading!foo barfoo barfoo barfoo barfoo    - bar                                - foo barfoo barfoo barfoo barfoo    - bar                                - foo barfoo barfoo barfoo barfoo    - bar                                - foo barfoo barfoo barfoo barfoo    - bar                                - foo barfoo barfoo barfoo barfoo    - bar                                - foo barfoo barfoo barfoo barfoo    - bar                                - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_loading_indicator_disables_widget - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LoadingOverlayRedux - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     ▄▄foo barfoo barfoo barfoo barfoo   ▄▄ - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - hello world hello world hello     foo barfoo barfoo barfoo barfoo    - world hello world hello world     bar                                - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_log_write - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LogApp - - - - - - - - - - Hello, World!                                                                  - What's up?                                                                     - FOO                                                                            - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_log_write_lines - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LogApp - - - - - - - - - - I must not fear.  And when it has goHello, World      Fear is the mind-k - Fear is the mind-kWhere the fear hasFear is the little - Fear is the littleI must not fear.  I will face my fea - I will face my fea▁▁Fear is the mind-kI will permit it t - I will permit it tFear is the littleAnd when it has go - And when it has goI will face my feaWhere the fear has - Where the fear hasI will permit it t - I must not fear.  And when it has go - Fear is the mind-kWhere the fear has - Fear is the littleI must not fear.   - I will face my feaFear is the mind-k - I will permit it tFear is the little - And when it has goI will face my fea - Where the fear hasI will permit it t - I must not fear.  And when it has go - Fear is the mind-kWhere the fear has - Fear is the littleI must not fear.   - I will face my feaFear is the mind-k - I will permit it tFear is the little - And when it has goI will face my fea▇▇ - Where the fear hasI will permit it t - I must not fear.  And when it has go - Fear is the mind-kWhere the fear has - - - - - - ''' -# --- -# name: test_margin_multiple - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ╔═══╗ - foo - ╚═══╝ - - - ┌────────────────────────────┐ - - - ┌────────────────────────────┐ - - ╔═══╗ - bar - ╔═══╗╚═══╝ - bar - ╚═══╝ - - - - └────────────────────────────┘└────────────────────────────┘ - - - - - - - - - - ''' -# --- -# name: test_markdown_component_classes_reloading - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - - - This is a header - - - col1                                 col2                                 -  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  -  value 1                               value 2                               - -   Here's some code: from itertools import productBold textEmphasized text - strikethrough - - - print("Hello, world!") - - - That was some code. - - - - - - - - - - - - ''' -# --- -# name: test_markdown_dark_theme_override - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarkdownThemeSwitchertApp - - - - - - - - - - - - This is a H1 - - - defmain(): - │   print("Hello world!") - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_markdown_example - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarkdownExampleApp - - - - - - - - - - - - Markdown Document - -   This is an example of Textual's Markdown widget. - - - Features - -   Markdown syntax and extensions are supported. - - ● Typography emphasisstronginline code etc. - ● Headers - ● Lists (bullet and ordered) - ● Syntax highlighted code blocks - ● Tables! - - - - - - - - - - - - - ''' -# --- -# name: test_markdown_light_theme_override - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarkdownThemeSwitchertApp - - - - - - - - - - - - This is a H1 - - - defmain(): - │   print("Hello world!") - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_markdown_space_squashing - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarkdownSpaceApp - - - - - - - - - - X XX XX X X X X X - - X XX XX X X X X X - - X XX X X X X X - - X XX X X X X X - - ┌─────────────────────────────────────────────────────────────────────────────── - - - # Two spaces:  see? - classFoo: - │   '''This is    a doc    string.''' - │   some_code(1,2,3,4) - - - - - - - - - - - - - - ''' -# --- -# name: test_markdown_theme_switching - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarkdownThemeSwitchertApp - - - - - - - - - - - - This is a H1 - - - defmain(): - │   print("Hello world!") - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_markdown_viewer_example - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MarkdownExampleApp - - - - - - - - - - - ▼ Ⅰ Markdown Viewer - ├── Ⅱ FeaturesMarkdown Viewer - ├── Ⅱ Tables - └── Ⅱ Code Blocks  This is an example of Textual's MarkdownViewer -   widget. - - - Features - -   Markdown syntax and extensions are supported. - ▇▇ - ● Typography emphasisstronginline code etc. - ● Headers - ● Lists (bullet and ordered) - ● Syntax highlighted code blocks - ● Tables! - - - Tables - -   Tables are displayed in a DataTable widget. - - - - - - - ''' -# --- -# name: test_max_height_100 - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HappyDataTableFunApp - - - - - - - - - -  Column 0  Column 1  Column 2  Column 3  Column 4  Column 5  Column 6  Column  -  0         0         0         0         0         0         0         0       -  0         1         2         3         4         5         6         7       -  0         2         4         6         8         10        12        14      -  0         3         6         9         12        15        18        21      -  0         4         8         12        16        20        24        28     ▆▆ -  0         5         10        15        20        25        30        35      -  0         6         12        18        24        30        36        42      -  0         7         14        21        28        35        42        49      -  0         8         16        24        32        40        48        56      -  0         9         18        27        36        45        54        63      -  0         10        20        30        40        50        60        70      -  0         11        22        33        44        55        66        77      -  0         12        24        36        48        60        72        84      -  0         13        26        39        52        65        78        91      -  0         14        28        42        56        70        84        98      -  0         15        30        45        60        75        90        105     -  0         16        32        48        64        80        96        112     -  0         17        34        51        68        85        102       119     -  0         18        36        54        72        90        108       126     -  0         19        38        57        76        95        114       133     -  0         20        40        60        80        100       120       140     -  0         21        42        63        84        105       126       147     - - - - - - ''' -# --- -# name: test_missing_vertical_scroll - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MissingScrollbarApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 0                  0                  ▎▊0                        - 1                  1                  ▎▊1                        - 2                  ▄▄2                  ▄▄▎▊2                       ▄▄ - 3                  3                  ▎▊3                        - 4                  4                  ▎▊4                        - 5                  5                  ▎▊5                        - 6                  6                  ▎▊6                        - 7                  7                  ▎▊7                        - 8                  8                  ▎▊8                        - 9                  9                  ▎▊9                        - 10                 10                 ▎▊10                       - 11                 11                 ▎▊11                       - 12                 12                 ▎▊12                       - 13                 13                 ▎▊13                       - 14                 14                 ▎▊14                       - 15                 15                 ▎▊15                       - 16                 16                 ▎▊16                       - 17                 17                 ▎▊17                       - 18                 18                 ▎▊18                       - 19                 19                 ▎▊19                       - 20                 20                 ▎▊20                       - 21                 21                 ▎▊21                       - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_modal_dialog_bindings - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ModalApp - - - - - - - - - - ModalApp - Hello                                                                            - - - - - - - - - - - - - - - - - - - - - -  ⏎ Open Dialog  - - - - - ''' -# --- -# name: test_modal_dialog_bindings_input - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ModalApp - - - - - - - - - - DialogModalApp - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - hi!                                                                        - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  OK  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - -  ⏎ Open Dialog  - - - - - ''' -# --- -# name: test_mount_style_fix - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BrokenClassesApp - - - - - - - - - - - - - - - - ┌──────────────────────────────────────┐ - This should have a red background - - - - - - - - - - └──────────────────────────────────────┘ - - - - - - - - - - - ''' -# --- -# name: test_multi_keys - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  o Options  - - - - - ''' -# --- -# name: test_multiple_css - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MultipleCSSApp - - - - - - - - - - #one - #two - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_nested_auto_heights - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NestedAutoApp - - - - - - - - - - ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - ┏━━━━━━━━━━━━━━━┓ - ┏━━━━━━━━━━━━━┓ - JUST ONE LINE - ┗━━━━━━━━━━━━━┛ - ┗━━━━━━━━━━━━━━━┛ - ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_nested_fr - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AutoApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - ┌────────────────────────────────────────────────────────────────────────────┐ - Hello - World! - foo - - - - - - - - - - - - - - - - - - └────────────────────────────────────────────────────────────────────────────┘ - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_nested_specificity - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NestedPseudoClassesApp - - - - - - - - - - ╭──────────────────────────────────────╮ - This isn't using nested CSSThis is using nested CSS - - - - - - - - - - - - - - - - - - - - - - ╰──────────────────────────────────────╯ - - - - - ''' -# --- -# name: test_notification_with_inline_link - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NotifyWithInlineLinkApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Click here for the bell sound. - - - - - - - ''' -# --- -# name: test_notification_with_inline_link_hover - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NotifyWithInlineLinkApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Click here for the bell sound. - - - - - - - ''' -# --- -# name: test_notifications_example - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ToastApp - - - - - - - - - - - - - - It's an older code, sir, but it  - checks out. - - - - Possible trap detected - Now witness the firepower of this  - fully ARMED and OPERATIONAL battle  - station! - - - - It's a trap! - - - - It's against my programming to  - impersonate a deity. - - - - - - - ''' -# --- -# name: test_notifications_loading_overlap_order - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LoadingOverlayApp - - - - - - - - - - - - - - - - - This is a big notification. - This is a big notification. - This is a big notification. - This is a big notification. - This is a big notification. - This is a big notification. - This is a big notification. - This is a big notification. - This is a big notification. - This is a big notification. - - - - - - - - ''' -# --- -# name: test_notifications_through_modes - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NotifyThroughModesApp - - - - - - - - - - This is a mode screen                   - 4 - - - - 5 - - - - 6 - - - - 7 - - - - 8 - - - - 9 - - - - - - - ''' -# --- -# name: test_notifications_through_screens - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NotifyDownScreensApp - - - - - - - - - - Screen 10                               - 4 - - - - 5 - - - - 6 - - - - 7 - - - - 8 - - - - 9 - - - - - - - ''' -# --- -# name: test_offsets - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OffsetsApp - - - - - - - - - - - - - - - ┌──────────────┐ - FOO - BAR - BAZ - └──────────────┘ - - - - - - ┌──────────────┐ - FOO - BAR - BAZ - └──────────────┘ - - - - - - - - - ''' -# --- -# name: test_option_list_build - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OptionListApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - One                   One                    ▎▊One                     - Two                   Two                    ▎▊Two                     - ─────────────────────────────────────────────▎▊─────────────────────── - ThreeThree▎▊Three - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_option_list_options - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OptionListApp - - - - - - - - - - OptionListApp - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Aerilon                                            - Aquaria                                            - ────────────────────────────────────────────────── - Canceron                                           - Caprica                                            - ────────────────────────────────────────────────── - Gemenon                                            - ────────────────────────────────────────────────── - Leonis                                             - Libran                                             - ────────────────────────────────────────────────── - Picon                                             ▁▁ - ────────────────────────────────────────────────── - Sagittaron                                         - Scorpia                                            - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - ''' -# --- -# name: test_option_list_replace_prompt_from_single_line_to_single_line - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OptionListApp - - - - - - - - - - OptionListApp - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1. Another single line                                                       - 2. Two                                                                       - lines                                                                        - 3. Three                                                                     - lines                                                                        - of text                                                                      - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_option_list_replace_prompt_from_single_line_to_two_lines - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OptionListApp - - - - - - - - - - OptionListApp - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1. Two                                                                       - lines                                                                        - 2. Two                                                                       - lines                                                                        - 3. Three                                                                     - lines                                                                        - of text                                                                      - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_option_list_replace_prompt_from_two_lines_to_three_lines - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OptionListApp - - - - - - - - - - OptionListApp - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1. Single line                                                               - 1. Three                                                                     - lines                                                                        - of text                                                                      - 3. Three                                                                     - lines                                                                        - of text                                                                      - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_option_list_scrolling_in_long_list - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LongOptionListApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - This is option #78                                                         - This is option #79                                                         - This is option #80                                                         - This is option #81                                                         - This is option #82                                                         - This is option #83                                                         - This is option #84                                                         - This is option #85                                                         - This is option #86                                                         - This is option #87                                                         - This is option #88                                                         - This is option #89                                                         - This is option #90                                                         - This is option #91                                                         - This is option #92                                                         - This is option #93                                                         - This is option #94                                                         - This is option #95                                                        ▇▇ - This is option #96                                                         - This is option #97                                                         - This is option #98                                                         - This is option #99                                                         - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_option_list_scrolling_with_multiline_options - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OptionListApp - - - - - - - - - - OptionListApp - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩ - │ Dionysus      │ 450 Million   │ Celeste        │ - └───────────────┴───────────────┴────────────────┘ -                  Data for Tauron                   - ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ -  Patron God     Population     Capital City    - ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩ - │ Ares          │ 2.5 Billion   │ Hypatia        │ - └───────────────┴───────────────┴────────────────┘ -                  Data for Virgon                   - ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ - ┃ Patron God    ┃ Population    ┃ Capital City   ┃▁▁ - ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩ - │ Hestia        │ 4.3 Billion   │ Boskirk        │ - └───────────────┴───────────────┴────────────────┘ - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - ''' -# --- -# name: test_option_list_strings - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OptionListApp - - - - - - - - - - OptionListApp - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Aerilon                                              - Aquaria                                              - Canceron                                             - Caprica                                              - Gemenon                                              - Leonis                                               - Libran                                               - Picon                                                - Sagittaron                                           - Scorpia                                              - Tauron                                               - Virgon                                               - - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - ''' -# --- -# name: test_option_list_tables - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OptionListApp - - - - - - - - - - OptionListApp - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -                  Data for Aerilon                  - ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ - ┃ Patron God    ┃ Population    ┃ Capital City   ┃ - ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩▇▇ - │ Demeter       │ 1.2 Billion   │ Gaoth          │ - └───────────────┴───────────────┴────────────────┘ -                  Data for Aquaria                  - ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ -  Patron God     Population     Capital City    - ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩ - │ Hermes        │ 75,000        │ None           │ - └───────────────┴───────────────┴────────────────┘ -                 Data for Canceron                  - ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ -  Patron God     Population     Capital City    - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - ''' -# --- -# name: test_order_independence - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Layers - - - - - - - - - - ┌──────────────────────────────────┐Layers - It's full of stars! My God! It's full of sta - - This should float over the top - - - └──────────────────────────────────┘ - - - - - - - - - - - - - - - - -  t Toggle Screen  - - - - - ''' -# --- -# name: test_order_independence_toggle - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Layers - - - - - - - - - - ┌──────────────────────────────────┐Layers - It's full of stars! My God! It's full of sta - - This should float over the top - - - └──────────────────────────────────┘ - - - - - - - - - - - - - - - - -  t Toggle Screen  - - - - - ''' -# --- -# name: test_pilot_resize_terminal - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SingleLabelApp - - - - - - - - - - 12345678901234567890 - 12345678901234567890 - 12345678901234567890 - 12345678901234567890 - 12345678901234567890 - 12345678901234567890 - 12345678901234567890 - 12345678901234567890 - 12345678901234567890 - 12345678901234567890 - - - - - ''' -# --- -# name: test_placeholder_disabled - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DisabledPlaceholderApp - - - - - - - - - - - - - - - Placeholder - - - - - - - - - - - - Placeholder - - - - - - - - - - - ''' -# --- -# name: test_placeholder_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PlaceholderApp - - - - - - - - - - - Placeholder p2 here! - This is a custom label for p1. - #p4 - #p3#p5Placeholde - r - - Lorem ipsum dolor sit  - 26 x 6amet, consectetur 27 x 6 - adipiscing elit. Etiam  - feugiat ac elit sit amet  - - - Lorem ipsum dolor sit amet,  - consectetur adipiscing elit. Etiam 40 x 6 - feugiat ac elit sit amet accumsan.  - Suspendisse bibendum nec libero quis  - gravida. Phasellus id eleifend ligula. - Nullam imperdiet sem tellus, sed  - vehicula nisl faucibus sit amet. Lorem ipsum dolor sit amet,  - Praesent iaculis tempor ultricies. Sedconsectetur adipiscing elit. Etiam  - lacinia, tellus id rutrum lacinia, feugiat ac elit sit amet accumsan.  - sapien sapien congue mauris, sit amet Suspendisse bibendum nec libero quis  - - - - - - ''' -# --- -# name: test_pretty_grid_gutter_interaction - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ['This is a string that has some chars'] - - This should be 1 cell away from ^ - - - - - - - - - ''' -# --- -# name: test_print_capture - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CaptureApp - - - - - - - - - - RichLog                                                                        - This will be captured!                                                         - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_programmatic_disable_button - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ExampleApp - - - - - - - - - - - - - - - - - - -                         Hover the button then hit space                          - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Disabled  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - -  SPACE Toggle Button  - - - - - ''' -# --- -# name: test_programmatic_scrollbar_gutter_change - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ProgrammaticScrollbarGutterChange - - - - - - - - - - onetwo - - - - - - - - - - - - threefour - - - - - - - - - - - - - - - - ''' -# --- -# name: test_progress_bar_completed - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IndeterminateProgressBar - - - - - - - - - - - - - - - - - - - - - ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━100%--:--:--                  - - - - - - - - - - - -  s Start  - - - - - ''' -# --- -# name: test_progress_bar_completed_styled - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - StyledProgressBar - - - - - - - - - - - - - - - - - - - - - ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━100%--:--:-- - - - - - - - - - - - -  s Start  - - - - - ''' -# --- -# name: test_progress_bar_halfway - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IndeterminateProgressBar - - - - - - - - - - - - - - - - - - - - - ━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━39%00:00:07                  - - - - - - - - - - - -  s Start  - - - - - ''' -# --- -# name: test_progress_bar_halfway_styled - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - StyledProgressBar - - - - - - - - - - - - - - - - - - - - - ━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━39%00:00:07 - - - - - - - - - - - -  s Start  - - - - - ''' -# --- -# name: test_progress_bar_indeterminate - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IndeterminateProgressBar - - - - - - - - - - - - - - - - - - - - - ━╸━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━--%--:--:--                  - - - - - - - - - - - -  s Start  - - - - - ''' -# --- -# name: test_progress_bar_indeterminate_styled - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - StyledProgressBar - - - - - - - - - - - - - - - - - - - - - ━╸━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━--%--:--:-- - - - - - - - - - - - -  s Start  - - - - - ''' -# --- -# name: test_progress_gradient - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ProgressApp - - - - - - - - - - ╺━━━━━━━━━━━━━━━50%--:--:--                                   - - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_quickly_change_tabs - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - QuicklyChangeTabsApp - - - - - - - - - - - onetwothree - ━━━━━━━━━━━━━╸━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - three                                                                        - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_radio_button_example - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RadioChoicesApp - - - - - - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Battlestar Galactica -  Dune 1984 -  Dune 2021 -  Serenity -  Star Trek: The Motion Picture -  Star Wars: A New Hope -  The Last Starfighter -  Total Recall 👉 🔴 -  Wing Commander - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - ''' -# --- -# name: test_radio_set_example - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RadioChoicesApp - - - - - - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Battlestar Galactica Amanda -  Dune 1984 Connor MacLeod -  Dune 2021 Duncan MacLeod -  Serenity Heather MacLeod -  Star Trek: The Motion Pictur Joe Dawson -  Star Wars: A New Hope Kurgan, The -  The Last Starfighter Methos -  Total Recall 👉 🔴 Rachel Ellenstein -  Wing Commander Ramírez - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - ''' -# --- -# name: test_recompose - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RecomposeApp - - - - - - - - - - ┌─────────┐┌─────────┐┌──────────┐┌─────────┐┌──────────┐┌─────────┐┌──────────┐ -  ┓ ┏━┓   ││ ┓  ┓    ││ ┓ ╺━┓    ││ ┓ ╺━┓   ││ ┓ ╻ ╻    ││ ┓ ┏━╸   ││ ┓ ┏━╸     -  ┃ ┃ ┃   ││ ┃  ┃    ││ ┃ ┏━┛    ││ ┃  ━┫   ││ ┃ ┗━┫    ││ ┃ ┗━┓   ││ ┃ ┣━┓     - ╺┻╸┗━┛   ││╺┻╸╺┻╸   ││╺┻╸┗━╸    ││╺┻╸╺━┛   ││╺┻╸  ╹    ││╺┻╸╺━┛   ││╺┻╸┗━┛     - └─────────┘└─────────┘└──────────┘└─────────┘└──────────┘└─────────┘└──────────┘ - - - - - - - - ━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━50%                                            - - - - - - - - - - - - - - - - ''' -# --- -# name: test_recompose_in_mount - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ForecastApp - - - - - - - - - - ForecastApp -  Profile  - ▔▔▔▔▔▔▔▔▔▔ - Foo -  Bar - ▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_remove_with_auto_height - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VerticalRemoveApp - - - - - - - - - - VerticalRemoveApp - ╭──────────────────────────────────────────────────────────────────────────────╮ - ╭────────────────────╮ - │This is a test label│ - ╰────────────────────╯ - ╰──────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - - - - - - - - - - -  a Add  d Delete  - - - - - ''' -# --- -# name: test_richlog_max_lines - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RichLogLines - - - - - - - - - - Key press #3                                                                   - Key press #4                                                                   - Key press #5                                                                   - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_richlog_scroll - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RichLogScrollApp - - - - - - - - - - Line 0                  Line 10                  Line 0                    - Line 1                  Line 11                  Line 1                    - Line 2                  Line 12                  Line 2                    - Line 3                  Line 13                  Line 3                    - Line 4                  Line 14                  Line 4                    - Line 5                  Line 15                  Line 5                    - Line 6                  Line 16                  Line 6                    - Line 7                  Line 17                  Line 7                    - Line 8                  Line 18                  Line 8                    - Line 9                  Line 19                  Line 9                    - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_richlog_width - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RichLogWidth - - - - - - - - - -               hello1 -               world2 -               hello3 -               world4 - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_rule_horizontal_rules - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - HorizontalRulesApp - - - - - - - - - -                                 solid (default)                                  - - ──────────────────────────────────────────────────────────────── - -                                      heavy                                       - - ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - -                                      thick                                       - - ████████████████████████████████████████████████████████████████ - -                                      dashed                                      - - ╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ - -                                      double                                      - - ════════════════════════════════════════════════════════════════ - -                                      ascii                                       - - ---------------------------------------------------------------- - - - - - - ''' -# --- -# name: test_rule_vertical_rules - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VerticalRulesApp - - - - - - - - - - - -        solid     heavy     thick     dashed    double    ascii   | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - - - - - - - - ''' -# --- -# name: test_rules - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RuleApp - - - - - - - - - - - -------------------------------------------------------------------------------- - - - - ╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ - - ════════════════════════════════════════════════════════════════════════════════ - - ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - - | - | - | - | - | - | - | - | - | - | - | - | - - - - - ''' -# --- -# name: test_scoped_css - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - ┌───┐ - foo - └───┘ - ┌───┐ - bar - └───┘ - └──────────────────────────────────────────────────────────────────────────────┘ - ┌──────────────────────────────────────────────────────────────────────────────┐ - ┌───┐ - foo - └───┘ - ┌───┐ - bar - └───┘ - └──────────────────────────────────────────────────────────────────────────────┘ - I should not be styled                                                           - - - - - - - - - - - - ''' -# --- -# name: test_screen_switch - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ModalApp - - - - - - - - - - ModalApp - B - - - - - - - - - - - - - - - - - - - - - -  a Push screen A  - - - - - ''' -# --- -# name: test_scroll_to - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollOffByOne - - - - - - - - - - ▔▔▔▔▔▔▔▔ - X 43 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 44 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 45 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 46▄▄ - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▃▃ - X 47 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 48 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 49 - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ - X 50 - ▁▁▁▁▁▁▁▁ - - - - - - ''' -# --- -# name: test_scroll_to_center - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - SPAM                                                                           - ╭────────────────────────────────────────────────────────────────────────────╮ - SPAM                                                                       - SPAM                                                                       - SPAM                                                                       - SPAM                                                                       - SPAM                                                                       - SPAM                                                                       - SPAM                                                                       - SPAM                                                                      ▁▁ - ╭────────────────────────────────────────────────────────────────────────╮ - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@>>bullseye<<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ - - ▄▄ - ▄▄ - - - - - - - ╰────────────────────────────────────────────────────────────────────────────╯ - SPAM                                                                           - SPAM                                                                           - - - - - ''' -# --- -# name: test_scroll_visible - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |▆▆ - | - | - | - | - SHOULD BE VISIBLE - - - - - ''' -# --- -# name: test_scroll_visible_with_margin - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollVisibleMargin - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Hello, world! (19)  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Hello, world! (20)  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Hello, world! (21)  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▅▅ -  Hello, world! (22)  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Hello, world! (23)  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Hello, world! (24)  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Hello, world! (25)  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Hello, world! (26)  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_scrollbar_thumb_height - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ScrollViewTester - - - - - - - - - - ScrollViewTester - ╭─ 1 ──────────────────────────────────────────────────────────────────────────╮ - Welcome to line 980                                                          - Welcome to line 981                                                          - Welcome to line 982                                                          - Welcome to line 983                                                          - Welcome to line 984                                                          - Welcome to line 985                                                          - Welcome to line 986                                                          - Welcome to line 987                                                          - Welcome to line 988                                                          - Welcome to line 989                                                          - Welcome to line 990                                                          - Welcome to line 991                                                          - Welcome to line 992                                                          - Welcome to line 993                                                          - Welcome to line 994                                                          - Welcome to line 995                                                          - Welcome to line 996                                                          - Welcome to line 997                                                          - Welcome to line 998                                                          - Welcome to line 999                                                          - ╰──────────────────────────────────────────────────────────────────────────────╯ - - - - - - ''' -# --- -# name: test_select - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectApp - - - - - - - - - - SelectApp - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Select - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_select_expanded - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectApp - - - - - - - - - - SelectApp - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Select - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Select -  I must not fear.                                        -  Fear is the mind-killer.                                -  Fear is the little-death that brings total              -  obliteration.                                           -  I will face my fear.                                    -  I will permit it to pass over me and through me.        - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - ''' -# --- -# name: test_select_expanded_changed - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectApp - - - - - - - - - - I must not fear. - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - I must not fear. - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_select_from_values_expanded - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectApp - - - - - - - - - - SelectApp - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Select - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Select -  I must not fear.                                        -  Fear is the mind-killer.                                -  Fear is the little-death that brings total              -  obliteration.                                           -  I will face my fear.                                    -  I will permit it to pass over me and through me.        - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - ''' -# --- -# name: test_select_no_blank_has_default_value - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectApp - - - - - - - - - - I must not fear. - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - I must not fear. - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_select_rebuild - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectRebuildApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Select - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Select -  This                                                                        -  Should                                                                      -  Be                                                                          -  What                                                                        -  Goes                                                                        -  Into                                                                        -  The                                                                         -  Snapshit                                                                    - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - ''' -# --- -# name: test_select_set_options - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectApp - - - - - - - - - - Twinkle, twinkle, little star, - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - Twinkle, twinkle, little star, - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_selection_list_selected - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectionListApp - - - - - - - - - - SelectionListApp - - - ┌─ Shall we play some games? ──┐┌─ Selected games ─────────────┐ - [ - X Falken's Maze           'secret_back_door', - X Black Jack              'a_nice_game_of_chess', - X Gin Rummy               'fighter_combat' - X Hearts                  ] - X Bridge                  └──────────────────────────────┘ - X Checkers                 - X Chess                    - X Poker                    - X Fighter Combat           - - └──────────────────────────────┘ - - - - - - - - - - - - - ''' -# --- -# name: test_selection_list_selections - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectionListApp - - - - - - - - - - SelectionListApp - - - ┌─ Shall we play some games? ──────────────────────────────────┐ - - X Falken's Maze                                            - X Black Jack                                               - X Gin Rummy                                                - X Hearts                                                   - X Bridge                                                   - X Checkers                                                 - X Chess                                                    - X Poker                                                    - X Fighter Combat                                           - - - - - - └──────────────────────────────────────────────────────────────┘ - - - - - - - - - ''' -# --- -# name: test_selection_list_tuples - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SelectionListApp - - - - - - - - - - SelectionListApp - - - ┌─ Shall we play some games? ──────────────────────────────────┐ - - X Falken's Maze                                            - X Black Jack                                               - X Gin Rummy                                                - X Hearts                                                   - X Bridge                                                   - X Checkers                                                 - X Chess                                                    - X Poker                                                    - X Fighter Combat                                           - - - - - - └──────────────────────────────────────────────────────────────┘ - - - - - - - - - ''' -# --- -# name: test_sort_children - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SortApp - - - - - - - - - - ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ - 5││1││5 - │└─────────────────────────┘│ - │┌─────────────────────────┐│ - ││2││ - ││││ - └────────────────────────┘└─────────────────────────┘└─────────────────────────┘ - ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ - 1││3││4 - └────────────────────────┘│││ - ┌────────────────────────┐│││ - 3│└─────────────────────────┘│ - │┌─────────────────────────┐└─────────────────────────┘ - ││4│┌─────────────────────────┐ - └────────────────────────┘│││3 - ┌────────────────────────┐│││ - 2││││ - │└─────────────────────────┘└─────────────────────────┘ - └────────────────────────┘┌─────────────────────────┐┌─────────────────────────┐ - ┌────────────────────────┐│5││2 - 4││││ - │││└─────────────────────────┘ - │││┌─────────────────────────┐ - ││││1 - └────────────────────────┘└─────────────────────────┘└─────────────────────────┘ - - - - - ''' -# --- -# name: test_sparkline_component_classes_colors - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SparklineColorsApp - - - - - - - - - - - ▇▇▇▇▇ - - ▇▇▇▇▇ - - ▇▇▇▇▇▇ - - ▇▇▇▇▇▇ - - ▇▇▇▇▇▇ - - ▇▇▇▇▇▇ - - ▇▇▇▇▇▇ - - ▇▇▇▇▇▇▇█▇ - - ▇▇▇▇▇▇ - - ▇▇▇▇▇▇▇█▇ - - - - - - - - - ''' -# --- -# name: test_sparkline_render - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SparklineSummaryFunctionApp - - - - - - - - - - - - - - - ▂▂▁▁ - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_switches - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SwitchApp - - - - - - - - - - - - - - Example switches - - - ▔▔▔▔▔▔▔▔ -                               off:      - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ -                               on:       - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ -                               focused:  - ▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔ -                               custom:   - ▁▁▁▁▁▁▁▁ - - - - - - - - - - ''' -# --- -# name: test_tab_rename - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TabRenameApp - - - - - - - - - - - This is a much longer label for the tab011222333344444 - ━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - TabPane#test - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_tabbed_content - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TabbedApp - - - - - - - - - - - LetoJessicaPaul - ━━━━━━━━╸━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - - - Lady Jessica - -   Bene Gesserit and concubine of Leto, and mother of Paul and Alia. - - - - PaulAlia - ━╸━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - First child                                                              - - - - - - - -  l Leto  j Jessica  p Paul  - - - - - ''' -# --- -# name: test_tabbed_content_styling_not_leaking - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TabbedContentStyleLeakTestApp - - - - - - - - - - - Leak Test - ━╸━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - This label should come first                                                 - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  This button should come second  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - TheseTabsShouldComeLast - ━╸━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_tabbed_content_with_modified_tabs - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FiddleWithTabsApp - - - - - - - - - - - Tab 1Tab 2Tab 4Tab 5 - ━╸━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Button  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_table_markup - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TableStaticApp - - - - - - - - - - ┏━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┓ - Foo Bar     baz        - ┡━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━┩ - │ Hello World! │ Italic │ Underline │ - └──────────────┴────────┴───────────┘ - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_tabs_invalidate - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TabApp - - - - - - - - - - - Tab 1Tab 2 - ━━━━━━━━━╸━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - ┌──────────────────────────────────────────────────────────────────────────────┐ - - world                                                                      - - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_text_area_alternate_screen - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TABug - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎ - foo                                          - bar                                          - baz                                          - - - - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎ - - - - - ''' -# --- -# name: test_text_area_language_rendering[bash] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -   1  #!/bin/bash -   2   -   3  # Variables -   4  name="John" -   5  age=30                                                                  -   6  is_student=true                                                         -   7   -   8  # Printing variables -   9  echo"Hello, $name! You are $age years old." -  10   -  11  # Conditional statements -  12  if [[ $age -ge 18 &&$is_student == true ]]; then -  13  echo"You are an adult student." -  14  elif [[ $age -ge 18 ]]; then -  15  echo"You are an adult." -  16  else -  17  echo"You are a minor." -  18  fi -  19   -  20  # Arrays -  21  numbers=(1 2 3 4 5)                                                     -  22  echo"Numbers: ${numbers[@]}" -  23   -  24  # Loops -  25  for num in"${numbers[@]}"do -  26  echo"Number: $num" -  27  done -  28   -  29  # Functions -  30  greet() {                                                               -  31    local name=$1                                                         -  32  echo"Hello, $name!" -  33  }                                                                       -  34  greet"Alice" -  35   -  36  # Command substitution -  37  current_date=$(date +%Y-%m-%d)                                          -  38  echo"Current date: $current_date" -  39   -  40  # File operations -  41  touch file.txt                                                          -  42  echo"Some content"> file.txt                                          -  43  cat file.txt                                                            -  44   -  45  # Conditionals with file checks -  46  if [[ -f file.txt ]]; then -  47  echo"file.txt exists." -  48  else -  49  echo"file.txt does not exist." -  50  fi -  51   -  52  # Case statement -  53  case$age in -  54    18)                                                                   -  55  echo"You are 18 years old." -  56      ;;                                                                  -  57    30)                                                                   -  58  echo"You are 30 years old." -  59      ;;                                                                  -  60    *)                                                                    -  61  echo"You are neither 18 nor 30 years old." -  62      ;;                                                                  -  63  esac -  64   -  65  # While loop -  66  counter=0                                                               -  67  while [[ $counter -lt 5 ]]; do -  68  echo"Counter: $counter" -  69    ((counter++))                                                         -  70  done -  71   -  72  # Until loop -  73  until [[ $counter -eq 0 ]]; do -  74  echo"Counter: $counter" -  75    ((counter--))                                                         -  76  done -  77   -  78  # Heredoc -  79  cat << EOF -  80  This is a heredoc.  -  81  It allows you to write multiple lines of text.  -  82  EOF  -  83   -  84  # Redirection -  85  ls> file_list.txt                                                      -  86  grep"file" file_list.txt > filtered_list.txt                           -  87   -  88  # Pipes -  89  cat file_list.txt |wc -l                                               -  90   -  91  # Arithmetic operations -  92  result=$((10 + 5))                                                      -  93  echo"Result: $result" -  94   -  95  # Exporting variables -  96  export DB_PASSWORD="secret" -  97   -  98  # Sourcing external files -  99  source config.sh                                                        - 100   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[css] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  /* This is a comment in CSS */ -  2   -  3  /* Basic selectors and properties */ -  4  body {                                                                   -  5      font-family: Arial, sans-serif;                                      -  6      background-color: #f4f4f4;                                           -  7      margin: 0;                                                           -  8      padding: 0;                                                          -  9  }                                                                        - 10   - 11  /* Class and ID selectors */ - 12  .header {                                                                - 13      background-color: #333;                                              - 14      color: #fff;                                                         - 15      padding: 10px0;                                                     - 16      text-align: center;                                                  - 17  }                                                                        - 18   - 19  #logo {                                                                  - 20      font-size: 24px;                                                     - 21      font-weight: bold;                                                   - 22  }                                                                        - 23   - 24  /* Descendant and child selectors */ - 25  .nav ul {                                                                - 26      list-style-type: none;                                               - 27      padding: 0;                                                          - 28  }                                                                        - 29   - 30  .nav > li {                                                              - 31      display: inline-block;                                               - 32      margin-right: 10px;                                                  - 33  }                                                                        - 34   - 35  /* Pseudo-classes */ - 36  a:hover {                                                                - 37      text-decoration: underline;                                          - 38  }                                                                        - 39   - 40  input:focus {                                                            - 41      border-color: #007BFF;                                               - 42  }                                                                        - 43   - 44  /* Media query */ - 45  @media (max-width: 768px) {                                              - 46      body {                                                               - 47          font-size: 16px;                                                 - 48      }                                                                    - 49   - 50      .header {                                                            - 51          padding: 5px0;                                                  - 52      }                                                                    - 53  }                                                                        - 54   - 55  /* Keyframes animation */ - 56  @keyframes slideIn {                                                     - 57  from {                                                               - 58          transform: translateX(-100%);                                    - 59      }                                                                    - 60  to {                                                                 - 61          transform: translateX(0);                                        - 62      }                                                                    - 63  }                                                                        - 64   - 65  .slide-in-element {                                                      - 66      animation: slideIn 0.5s forwards;                                    - 67  }                                                                        - 68   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[go] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  package main                                                             -  2   -  3  import (                                                                 -  4  "fmt" -  5  "math" -  6  "strings" -  7  )                                                                        -  8   -  9  const PI =3.14159 - 10   - 11  type Shape interface {                                                   - 12      Area() float64                                                       - 13  }                                                                        - 14   - 15  type Circle struct {                                                     - 16      Radius float64                                                       - 17  }                                                                        - 18   - 19  func (c Circle) Area() float64 {                                         - 20  return PI * c.Radius * c.Radius                                      - 21  }                                                                        - 22   - 23  funcmain() {                                                            - 24  var name string ="John" - 25      age :=30 - 26      isStudent :=true - 27   - 28      fmt.Printf("Hello, %s! You are %d years old.", name, age)            - 29   - 30  if age >=18&& isStudent {                                          - 31          fmt.Println("You are an adult student.")                         - 32      } elseif age >=18 {                                                - 33          fmt.Println("You are an adult.")                                 - 34      } else {                                                             - 35          fmt.Println("You are a minor.")                                  - 36      }                                                                    - 37   - 38      numbers := []int{12345}                                      - 39      sum :=0 - 40  for _, num :=range numbers {                                        - 41          sum += num                                                       - 42      }                                                                    - 43      fmt.Printf("The sum is: %d", sum)                                    - 44   - 45      message :="Hello, World!" - 46      uppercaseMessage := strings.ToUpper(message)                         - 47      fmt.Println(uppercaseMessage)                                        - 48   - 49      circle := Circle{Radius: 5}                                          - 50      fmt.Printf("Circle area: %.2f", circle.Area())                       - 51   - 52      result :=factorial(5)                                               - 53      fmt.Printf("Factorial of 5: %d", result)                             - 54   - 55  defer fmt.Println("Program finished.")                               - 56   - 57      sqrt :=func(x float64) float64 {                                    - 58  return math.Sqrt(x)                                              - 59      }                                                                    - 60      fmt.Printf("Square root of 16: %.2f"sqrt(16))                      - 61  }                                                                        - 62   - 63  funcfactorial(n int) int {                                              - 64  if n ==0 {                                                          - 65  return1 - 66      }                                                                    - 67  return n *factorial(n-1)                                            - 68  }                                                                        - 69   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[html] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  <!DOCTYPE html>                                                          -  2  <html lang="en">                                                         -  3   -  4  <head>                                                                   -  5  <!-- Meta tags --> -  6      <meta charset="UTF-8">                                               -  7      <meta name="viewport" content="width=device-width, initial-scale=1.0 -  8  <!-- Title --> -  9      <title>HTML Test Page</title>                                        - 10  <!-- Link to CSS --> - 11      <link rel="stylesheet" href="styles.css">                            - 12  </head>                                                                  - 13   - 14  <body>                                                                   - 15  <!-- Header section --> - 16      <header class="header">                                              - 17          <h1 id="logo">HTML Test Page</h1>                                - 18      </header>                                                            - 19   - 20  <!-- Navigation --> - 21      <nav class="nav">                                                    - 22          <ul>                                                             - 23              <li><a href="#">Home</a></li>                                - 24              <li><a href="#">About</a></li>                               - 25              <li><a href="#">Contact</a></li>                             - 26          </ul>                                                            - 27      </nav>                                                               - 28   - 29  <!-- Main content area --> - 30      <main>                                                               - 31          <article>                                                        - 32              <h2>Welcome to the Test Page</h2>                            - 33              <p>This is a paragraph to test the HTML structure.</p>       - 34              <img src="test-image.jpg" alt="Test Image" width="300">      - 35          </article>                                                       - 36      </main>                                                              - 37   - 38  <!-- Form --> - 39      <section>                                                            - 40          <form action="/submit" method="post">                            - 41              <label for="name">Name:</label>                              - 42              <input type="text" id="name" name="name">                    - 43              <input type="submit" value="Submit">                         - 44          </form>                                                          - 45      </section>                                                           - 46   - 47  <!-- Footer --> - 48      <footer>                                                             - 49          <p>&copy; 2023 HTML Test Page</p>                                - 50      </footer>                                                            - 51   - 52  <!-- Script tag --> - 53      <script src="scripts.js"></script>                                   - 54  </body>                                                                  - 55   - 56  </html>                                                                  - 57   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[java] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -   1  import java.util.ArrayList;                                             -   2  import java.util.HashMap;                                               -   3  import java.util.List;                                                  -   4  import java.util.Map;                                                   -   5   -   6  // Classes and interfaces -   7  interface Shape {                                                       -   8      double getArea();                                                   -   9  }                                                                       -  10   -  11  class Rectangle implements Shape {                                      -  12  private double width;                                               -  13  private double height;                                              -  14   -  15  public Rectangle(double width, double height) {                     -  16          this.width = width;                                             -  17          this.height = height;                                           -  18      }                                                                   -  19   -  20  @Override                                                           -  21  public double getArea() {                                           -  22  return width * height;                                          -  23      }                                                                   -  24  }                                                                       -  25   -  26  // Enums -  27  enum DaysOfWeek {                                                       -  28      MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY      -  29  }                                                                       -  30   -  31  publicclass Main {                                                     -  32  // Constants -  33  privatestaticfinal double PI = 3.14159;                           -  34   -  35  // Methods -  36  publicstatic int sum(int a, int b) {                               -  37  return a + b;                                                   -  38      }                                                                   -  39   -  40  publicstatic void main(String[] args) {                            -  41  // Variables -  42          String name = "John";                                           -  43          int age = 30;                                                   -  44          boolean isStudent = true;                                       -  45   -  46  // Printing variables -  47          System.out.println("Hello, " + name + "! You are " + age + " ye -  48   -  49  // Conditional statements -  50  if (age >= 18 && isStudent) {                                   -  51              System.out.println("You are an adult student.");            -  52          } elseif (age >= 18) {                                         -  53              System.out.println("You are an adult.");                    -  54          } else {                                                        -  55              System.out.println("You are a minor.");                     -  56          }                                                               -  57   -  58  // Arrays -  59          int[] numbers = {12345};                                -  60          System.out.println("Numbers: " + Arrays.toString(numbers));     -  61   -  62  // Lists -  63          List<String> fruits = new ArrayList<>();                        -  64          fruits.add("apple");                                            -  65          fruits.add("banana");                                           -  66          fruits.add("orange");                                           -  67          System.out.println("Fruits: " + fruits);                        -  68   -  69  // Loops -  70  for (int num : numbers) {                                       -  71              System.out.println("Number: " + num);                       -  72          }                                                               -  73   -  74  // Hash maps -  75          Map<String, Integer> scores = new HashMap<>();                  -  76          scores.put("Alice"100);                                       -  77          scores.put("Bob"80);                                          -  78          System.out.println("Alice's score: " + scores.get("Alice"));    -  79   -  80  // Exception handling -  81  try {                                                           -  82              int result = 10 / 0;                                        -  83          } catch (ArithmeticException e) {                               -  84              System.out.println("Error: " + e.getMessage());             -  85          }                                                               -  86   -  87  // Instantiating objects -  88          Rectangle rect = new Rectangle(1020);                         -  89          System.out.println("Rectangle area: " + rect.getArea());        -  90   -  91  // Enums -  92          DaysOfWeek today = DaysOfWeek.MONDAY;                           -  93          System.out.println("Today is " + today);                        -  94   -  95  // Calling methods -  96          int sum = sum(510);                                           -  97          System.out.println("Sum: " + sum);                              -  98   -  99  // Ternary operator - 100          String message = age >= 18 ? "You are an adult." : "You are a m - 101          System.out.println(message);                                    - 102      }                                                                   - 103  }                                                                       - 104   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[javascript] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  // Variable declarations -  2  const name ="John";                                                     -  3  let age =30;                                                            -  4  var isStudent =true;                                                    -  5   -  6  // Template literals -  7  console.log(`Hello, ${name}! You are ${age} years old.`);                -  8   -  9  // Conditional statements - 10  if (age >=18&& isStudent) {                                            - 11    console.log("You are an adult student.");                              - 12  elseif (age >=18) {                                                  - 13    console.log("You are an adult.");                                      - 14  else {                                                                 - 15    console.log("You are a minor.");                                       - 16  }                                                                        - 17   - 18  // Arrays and array methods - 19  const numbers = [12345];                                         - 20  const doubledNumbers = numbers.map((num) => num *2);                    - 21  console.log("Doubled numbers:", doubledNumbers);                         - 22   - 23  // Objects - 24  const person = {                                                         - 25    firstName: "John",                                                     - 26    lastName: "Doe",                                                       - 27    getFullName() {                                                        - 28  return`${this.firstName} ${this.lastName}`;                         - 29    },                                                                     - 30  };                                                                       - 31  console.log("Full name:", person.getFullName());                         - 32   - 33  // Classes - 34  class Rectangle {                                                        - 35    constructor(width, height) {                                           - 36      this.width = width;                                                  - 37      this.height = height;                                                - 38    }                                                                      - 39   - 40    getArea() {                                                            - 41  return this.width * this.height;                                     - 42    }                                                                      - 43  }                                                                        - 44  const rectangle =new Rectangle(53);                                   - 45  console.log("Rectangle area:", rectangle.getArea());                     - 46   - 47  // Async/Await and Promises - 48  asyncfunctionfetchData() {                                             - 49  try {                                                                  - 50  const response =awaitfetch("https://api.example.com/data");        - 51  const data =await response.json();                                  - 52      console.log("Fetched data:", data);                                  - 53    } catch (error) {                                                      - 54      console.error("Error:", error);                                      - 55    }                                                                      - 56  }                                                                        - 57  fetchData();                                                             - 58   - 59  // Arrow functions - 60  constgreet= (name) => {                                                - 61    console.log(`Hello, ${name}!`);                                        - 62  };                                                                       - 63  greet("Alice");                                                          - 64   - 65  // Destructuring assignment - 66  const [a, b, ...rest] = [12345];                                 - 67  console.log(a, b, rest);                                                 - 68   - 69  // Spread operator - 70  const arr1 = [123];                                                  - 71  const arr2 = [456];                                                  - 72  const combinedArr = [...arr1, ...arr2];                                  - 73  console.log("Combined array:", combinedArr);                             - 74   - 75  // Ternary operator - 76  const message = age >=18 ? "You are an adult." : "You are a minor.";    - 77  console.log(message);                                                    - 78   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[json] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  { -  2  "name""John Doe",                                                  -  3  "age"30,                                                           -  4  "isStudent"false,                                                  -  5  "address": {                                                         -  6  "street""123 Main St",                                         -  7  "city""Anytown",                                               -  8  "state""CA",                                                   -  9  "zip""12345" - 10      },                                                                   - 11  "phoneNumbers": [                                                    - 12          {                                                                - 13  "type""home",                                              - 14  "number""555-555-1234" - 15          },                                                               - 16          {                                                                - 17  "type""work",                                              - 18  "number""555-555-5678" - 19          }                                                                - 20      ],                                                                   - 21  "hobbies": ["reading""hiking""swimming"],                        - 22  "pets": [                                                            - 23          {                                                                - 24  "type""dog",                                               - 25  "name""Fido" - 26          },                                                               - 27      ],                                                                   - 28  "graduationYear"null - 29  } - 30   - 31   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[kotlin] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  // Variables -  2  val name ="John" -  3  var age =30 -  4  var isStudent =true -  5   -  6  // Printing variables -  7  println("Hello, $name! You are $age years old.")                         -  8   -  9  // Conditional statements - 10  when {                                                                   - 11      age >=18&& isStudent ->println("You are an adult student.")       - 12      age >=18->println("You are an adult.")                            - 13  else->println("You are a minor.")                                  - 14  }                                                                        - 15   - 16  // Arrays - 17  val numbers =arrayOf(12345)                                     - 18  println("Numbers: ${numbers.contentToString()}")                         - 19   - 20  // Lists - 21  val fruits =listOf("apple""banana""orange")                         - 22  println("Fruits: $fruits")                                               - 23   - 24  // Loops - 25  for (num in numbers) {                                                   - 26  println("Number: $num")                                              - 27  }                                                                        - 28   - 29  // Functions - 30  fungreet(name: String) {                                                - 31  println("Hello, $name!")                                             - 32  }                                                                        - 33  greet("Alice")                                                           - 34   - 35  // Lambda functions - 36  val square = { num: Int -> num * num }                                   - 37  println("Square of 5: ${square(5)}")                                     - 38   - 39  // Extension functions - 40  fun String.reverse(): String {                                           - 41  return this.reversed() - 42  }                                                                        - 43  val reversed ="Hello".reverse()                                         - 44  println("Reversed: $reversed")                                           - 45   - 46  // Data classes - 47  dataclass Person(val name: String, val age: Int)                        - 48  val person =Person("John"30)                                          - 49  println("Person: $person")                                               - 50   - 51  // Null safety - 52  var nullable: String? =null - 53  println("Length: ${nullable?.length}")                                   - 54   - 55  // Elvis operator - 56  val length = nullable?.length ?:0 - 57  println("Length (Elvis): $length")                                       - 58   - 59  // Smart casts - 60  funprintLength(obj: Any) {                                              - 61  if (obj is String) {                                                 - 62  println("Length: ${obj.length}")                                 - 63      }                                                                    - 64  }                                                                        - 65  printLength("Hello")                                                     - 66   - 67  // Object expressions - 68  val comparator =object : Comparator<Int> {                              - 69  overridefun compare(a: Int, b: Int): Int {                          - 70  return a - b - 71      }                                                                    - 72  }                                                                        - 73  val sortedNumbers = numbers.sortedWith(comparator)                       - 74  println("Sorted numbers: ${sortedNumbers.contentToString()}")            - 75   - 76  // Companion objects - 77  class MyClass {                                                          - 78      companion object {                                                   - 79  funcreate(): MyClass {                                          - 80  return MyClass() - 81          }                                                                - 82      }                                                                    - 83  }                                                                        - 84  val obj = MyClass.create()                                               - 85   - 86  // Sealed classes - 87  sealedclass Result {                                                    - 88  dataclass Success(val data: String) : Result()                      - 89  dataclass Error(val message: String) : Result()                     - 90  }                                                                        - 91  val result: Result = Result.Success("Data")                              - 92  when (result) {                                                          - 93  is Result.Success ->println("Success: ${result.data}")              - 94  is Result.Error ->println("Error: ${result.message}")               - 95  }                                                                        - 96   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[markdown] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  Heading -  2  =======                                                                  -  3   -  4  Sub-heading -  5  -----------                                                              -  6   -  7  ### Heading -  8   -  9  #### H4 Heading - 10   - 11  ##### H5 Heading - 12   - 13  ###### H6 Heading - 14   - 15   - 16  Paragraphs are separated                                                 - 17  by a blank line.                                                         - 18   - 19  Two spaces at the end of a line                                          - 20  produces a line break.                                                   - 21   - 22  Text attributes _italic_,                                                - 23  **bold**`monospace`.                                                   - 24   - 25  Horizontal rule:                                                         - 26   - 27  ---                                                                      - 28   - 29  Bullet list:                                                             - 30   - 31  * apples                                                               - 32  * oranges                                                              - 33  * pears                                                                - 34   - 35  Numbered list:                                                           - 36   - 37  1. lather                                                              - 38  2. rinse                                                               - 39  3. repeat                                                              - 40   - 41  An [example](http://example.com).                                        - 42   - 43  > Markdown uses email-style > characters for blockquoting.               - 44  >                                                                        - 45  > Lorem ipsum                                                            - 46   - 47  ![progress](https://github.com/textualize/rich/raw/master/imgs/progress. - 48   - 49   - 50  ```                                                                      - 51  a=1                                                                      - 52  ```                                                                      - 53   - 54  ```python                                                                - 55  import this                                                              - 56  ```                                                                      - 57   - 58  ```somelang                                                              - 59  foobar                                                                   - 60  ```                                                                      - 61   - 62      import this                                                          - 63   - 64   - 65  1. List item                                                             - 66   - 67         Code block                                                        - 68   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[python] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  import math                                                              -  2  from os import path                                                      -  3   -  4  # I'm a comment :) -  5   -  6  string_var ="Hello, world!" -  7  int_var =42 -  8  float_var =3.14 -  9  complex_var =1+2j - 10   - 11  list_var = [12345]                                               - 12  tuple_var = (12345)                                              - 13  set_var = {12345}                                                - 14  dict_var = {"a"1"b"2"c"3}                                      - 15   - 16  deffunction_no_args():                                                  - 17  return"No arguments" - 18   - 19  deffunction_with_args(a, b):                                            - 20  return a + b                                                         - 21   - 22  deffunction_with_default_args(a=0, b=0):                                - 23  return a * b                                                         - 24   - 25  lambda_func =lambda x: x**2 - 26   - 27  if int_var ==42:                                                        - 28  print("It's the answer!")                                            - 29  elif int_var <42:                                                       - 30  print("Less than the answer.")                                       - 31  else:                                                                    - 32  print("Greater than the answer.")                                    - 33   - 34  for index, value inenumerate(list_var):                                 - 35  print(f"Index: {index}, Value: {value}")                             - 36   - 37  counter =0 - 38  while counter <5:                                                       - 39  print(f"Counter value: {counter}")                                   - 40      counter +=1 - 41   - 42  squared_numbers = [x**2for x inrange(10if x %2==0]                - 43   - 44  try:                                                                     - 45      result =10/0 - 46  except ZeroDivisionError:                                                - 47  print("Cannot divide by zero!")                                      - 48  finally:                                                                 - 49  print("End of try-except block.")                                    - 50   - 51  classAnimal:                                                            - 52  def__init__(self, name):                                            - 53          self.name = name                                                 - 54   - 55  defspeak(self):                                                     - 56  raiseNotImplementedError("Subclasses must implement this method - 57   - 58  classDog(Animal):                                                       - 59  defspeak(self):                                                     - 60  returnf"{self.name} says Woof!" - 61   - 62  deffibonacci(n):                                                        - 63      a, b =01 - 64  for _ inrange(n):                                                   - 65  yield a                                                          - 66          a, b = b, a + b                                                  - 67   - 68  for num infibonacci(5):                                                 - 69  print(num)                                                           - 70   - 71  withopen('test.txt''w'as f:                                         - 72      f.write("Testing with statement.")                                   - 73   - 74  @my_decorator                                                            - 75  defsay_hello():                                                         - 76  print("Hello!")                                                      - 77   - 78  say_hello()                                                              - 79   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[regex] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  ^abc            # Matches any string that starts with "abc" -  2  abc$            # Matches any string that ends with "abc" -  3  ^abc$           # Matches the string "abc" and nothing else -  4  a.b             # Matches any string containing "a", any character, then -  5  a[.]b           # Matches the string "a.b" -  6  a|b             # Matches either "a" or "b" -  7  a{2}            # Matches "aa" -  8  a{2,}           # Matches two or more consecutive "a" characters -  9  a{2,5}          # Matches between 2 and 5 consecutive "a" characters - 10  a?              # Matches "a" or nothing (0 or 1 occurrence of "a")      - 11  a*              # Matches zero or more consecutive "a" characters - 12  a+              # Matches one or more consecutive "a" characters - 13  \d              # Matches any digit (equivalent to [0-9])                - 14  \D              # Matches any non-digit - 15  \w              # Matches any word character (equivalent to [a-zA-Z0-9_] - 16  \W              # Matches any non-word character - 17  \s              # Matches any whitespace character (spaces, tabs, line b - 18  \S              # Matches any non-whitespace character - 19  (?i)abc         # Case-insensitive match for "abc" - 20  (?:a|b)         # Non-capturing group for either "a" or "b" - 21  (?<=a)b         # Positive lookbehind: matches "b" that is preceded by " - 22  (?<!a)b         # Negative lookbehind: matches "b" that is not preceded  - 23  a(?=b)          # Positive lookahead: matches "a" that is followed by "b - 24  a(?!b)          # Negative lookahead: matches "a" that is not followed b - 25   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[rust] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -   1  use std::collections::HashMap;                                          -   2   -   3  // Constants -   4  const PI: f64 = 3.14159;                                                -   5   -   6  // Structs -   7  struct Rectangle {                                                      -   8      width: u32,                                                         -   9      height: u32,                                                        -  10  }                                                                       -  11   -  12  impl Rectangle {                                                        -  13  fnarea(&self) -> u32 {                                             -  14          self.width * self.height                                        -  15      }                                                                   -  16  }                                                                       -  17   -  18  // Enums -  19  enum Result<T, E> {                                                     -  20      Ok(T),                                                              -  21      Err(E),                                                             -  22  }                                                                       -  23   -  24  // Functions -  25  fngreet(name: &str) {                                                  -  26      println!("Hello, {}!", name);                                       -  27  }                                                                       -  28   -  29  fnmain() {                                                             -  30  // Variables -  31  let name = "John";                                                  -  32  letmut age = 30;                                                   -  33  let is_student = true;                                              -  34   -  35  // Printing variables -  36      println!("Hello, {}! You are {} years old.", name, age);            -  37   -  38  // Conditional statements -  39  if age >= 18 && is_student {                                        -  40          println!("You are an adult student.");                          -  41      } elseif age >= 18 {                                               -  42          println!("You are an adult.");                                  -  43      } else {                                                            -  44          println!("You are a minor.");                                   -  45      }                                                                   -  46   -  47  // Arrays -  48  let numbers = [12345];                                      -  49      println!("Numbers: {:?}", numbers);                                 -  50   -  51  // Vectors -  52  letmut fruits = vec!["apple""banana""orange"];                 -  53      fruits.push("grape");                                               -  54      println!("Fruits: {:?}", fruits);                                   -  55   -  56  // Loops -  57  for num in&numbers {                                               -  58          println!("Number: {}", num);                                    -  59      }                                                                   -  60   -  61  // Pattern matching -  62  let result = Result::Ok(42);                                        -  63  match result {                                                      -  64          Result::Ok(value) => println!("Value: {}", value),              -  65          Result::Err(error) => println!("Error: {:?}", error),           -  66      }                                                                   -  67   -  68  // Ownership and borrowing -  69  let s1 = String::from("hello");                                     -  70  let s2 = s1.clone();                                                -  71      println!("s1: {}, s2: {}", s1, s2);                                 -  72   -  73  // References -  74  let rect = Rectangle {                                              -  75          width: 10,                                                      -  76          height: 20,                                                     -  77      };                                                                  -  78      println!("Rectangle area: {}", rect.area());                        -  79   -  80  // Hash maps -  81  letmut scores = HashMap::new();                                    -  82      scores.insert("Alice"100);                                        -  83      scores.insert("Bob"80);                                           -  84      println!("Alice's score: {}", scores["Alice"]);                     -  85   -  86  // Closures -  87  let square = |num: i32| num * num;                                  -  88      println!("Square of 5: {}", square(5));                             -  89   -  90  // Traits -  91  trait Printable {                                                   -  92  fnprint(&self);                                                -  93      }                                                                   -  94   -  95  impl Printable for Rectangle {                                      -  96  fnprint(&self) {                                               -  97              println!("Rectangle: width={}, height={}", self.width, self -  98          }                                                               -  99      }                                                                   - 100      rect.print();                                                       - 101   - 102  // Modules - 103  greet("Alice");                                                     - 104  }                                                                       - 105   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[sql] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  -- This is a comment in SQL -  2   -  3  -- Create tables -  4  CREATETABLE Authors (                                                   -  5      AuthorID INT PRIMARY KEY,                                            -  6      Name VARCHAR(255NOT NULL,                                          -  7      Country VARCHAR(50)                                                  -  8  );                                                                       -  9   - 10  CREATETABLE Books (                                                     - 11      BookID INT PRIMARY KEY,                                              - 12      Title VARCHAR(255NOT NULL,                                         - 13      AuthorID INT,                                                        - 14      PublishedDate DATE,                                                  - 15      FOREIGN KEY (AuthorID) REFERENCES Authors(AuthorID)                  - 16  );                                                                       - 17   - 18  -- Insert data - 19  INSERTINTO Authors (AuthorID, Name, Country) VALUES (1'George Orwell' - 20   - 21  INSERTINTO Books (BookID, Title, AuthorID, PublishedDate) VALUES (1'1 - 22   - 23  -- Update data - 24  UPDATE Authors SET Country ='United Kingdom'WHERE Country ='UK';      - 25   - 26  -- Select data with JOIN - 27  SELECT Books.Title, Authors.Name                                         - 28  FROM Books                                                               - 29  JOIN Authors ON Books.AuthorID = Authors.AuthorID;                       - 30   - 31  -- Delete data (commented to preserve data for other examples) - 32  -- DELETE FROM Books WHERE BookID = 1; - 33   - 34  -- Alter table structure - 35  ALTER TABLE Authors ADD COLUMN BirthDate DATE;                           - 36   - 37  -- Create index - 38  CREATEINDEX idx_author_name ON Authors(Name);                           - 39   - 40  -- Drop index (commented to avoid actually dropping it) - 41  -- DROP INDEX idx_author_name ON Authors; - 42   - 43  -- End of script - 44   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[toml] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  # This is a comment in TOML -  2   -  3  string = "Hello, world!" -  4  integer = 42 -  5  float = 3.14 -  6  boolean = true -  7  datetime = 1979-05-27T07:32:00Z -  8   -  9  fruits = ["apple""banana""cherry"]                                   - 10   - 11  [address]                                                                - 12  street = "123 Main St" - 13  city = "Anytown" - 14  state = "CA" - 15  zip = "12345" - 16   - 17  [person.john]                                                            - 18  name = "John Doe" - 19  age = 28 - 20  is_student = false - 21   - 22   - 23  [[animals]]                                                              - 24  name = "Fido" - 25  type = "dog" - 26   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_language_rendering[yaml] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  # This is a comment in YAML -  2   -  3  # Scalars -  4  string"Hello, world!" -  5  integer42 -  6  float3.14 -  7  booleantrue -  8   -  9  # Sequences (Arrays) - 10  fruits:                                                                  - 11    - Apple - 12    - Banana - 13    - Cherry - 14   - 15  # Nested sequences - 16  persons:                                                                 - 17    - nameJohn - 18  age28 - 19  is_studentfalse - 20    - nameJane - 21  age22 - 22  is_studenttrue - 23   - 24  # Mappings (Dictionaries) - 25  address:                                                                 - 26  street123 Main St - 27  cityAnytown - 28  stateCA - 29  zip'12345' - 30   - 31  # Multiline string - 32  description - 33    This is a multiline  - 34    string in YAML. - 35   - 36  # Inline and nested collections - 37  colors: { redFF0000green00FF00blue0000FF }                     - 38   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_line_number_start - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LineNumbersReactive - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎ -  9999  Foo                   - 10000  Bar                   - 10001  Baz                   - 10002   - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎ - - - - - ''' -# --- -# name: test_text_area_read_only_cursor_rendering - ''' - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1  Hello, world!           - - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_selection_rendering[selection0] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - I am a line. - - I am another line.         - - I am the final line.       - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_selection_rendering[selection1] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - I am a line. - - I am another line.         - - I am the final line.       - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_selection_rendering[selection2] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - I am a line. - - I am another line. - - I am the final line.       - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_selection_rendering[selection3] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - I am a line. - - I am another line. - - I am the final line. - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_selection_rendering[selection4] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - I am a line.               - - I am another line.         - - I am the final line.       - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_selection_rendering[selection5] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - I am a line.               - - I am another line.         - - I am the final line.       - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_themes[css] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1  defhello(name): - 2      x =123 - 3  whilenotFalse:                      - 4  print("hello "+ name)            - 5  continue - 6   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_themes[dracula] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1  defhello(name): - 2      x =123 - 3  whilenotFalse:                      - 4  print("hello "+ name)            - 5  continue - 6   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_themes[github_light] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1  defhello(name): - 2  x=123 - 3  whilenotFalse:                      - 4  print("hello "+name)            - 5  continue - 6   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_themes[monokai] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1  defhello(name): - 2      x =123 - 3  whilenotFalse:                      - 4  print("hello "+ name)            - 5  continue - 6   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_themes[vscode_dark] - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1  defhello(name): - 2      x =123 - 3  whilenotFalse:                      - 4  print("hello "+ name)            - 5  continue - 6   - - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_area_wrapping_and_folding - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaWrapping - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  1  # The  - Wonders  - of Space  - Explorati - on -  2   -  3  Space      - explorati  - on has     - *always* - captured   - the        - human      - imaginati  - on.        -  4  ▃▃ -  5  ダレンバ   - ーンズ     -  6   -  7   - Thisissom  - elongtext  - thatshoul  - dfoldcorr  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_text_log_blank_write - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RichLogApp - - - - - - - - - - Hello                                                                          - - World                                                                          - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_textual_dev_border_preview - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BorderApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  ascii  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔+------------------- ascii --------------------+ -  blank || - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁|| - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|I must not fear.| -  dashed |Fear is the mind-killer.| - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁|Fear is the little-death that brings | - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|total obliteration.| -  double |I will face my fear.| - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▅▅|I will permit it to pass over me and | - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|through me.| -  heavy |And when it has gone past, I will turn| - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁|the inner eye to see its path.| - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|Where the fear has gone there will be | -  hidden |nothing. Only I will remain.| - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁|| - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|| -  hkey +----------------------------------------------+ - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  inner  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_textual_dev_colors_preview - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ColorsApp - - - - - - - - - - - Theme ColorsNamed Colors - ━╸━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  primary  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  secondary "primary" - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  background $primary-darken-3$t - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  primary-background $primary-darken-2$t - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  secondary-background $primary-darken-1$t - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  surface $primary$t - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - -  d Toggle dark mode  - - - - - ''' -# --- -# name: test_textual_dev_easing_preview - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - EasingApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  round ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁Animation Duration:1.0                        - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ -  out_sine  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ -  out_quint  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁Welcome to Textual! - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  out_quart I must not fear. - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁Fear is the  - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔mind-killer. -  out_quad Fear is the  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁little-death that  - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔brings total  -  out_expo obliteration. - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁I will face my fear. - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔I will permit it to  -  out_elastic pass over me and  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁through me. - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔And when it has gone  -  out_cubic  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ^p Focus: Duration Input  ^b Toggle Dark  - - - - - ''' -# --- -# name: test_textual_dev_keys_preview - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Textual Keys - - - - - - - - - - Textual Keys - ╭────────────────────────────────────────────────────────────────────────────╮ - │ Press some keys!                                                           │ - │                                                                            │ - │ To quit the app press ctrl+ctwice or press the Quit button below.         │ - ╰────────────────────────────────────────────────────────────────────────────╯ - Key(key='a'character='a'name='a'is_printable=True) - Key(key='b'character='b'name='b'is_printable=True) - - - - - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  Clear  Quit  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_toggle_style_order - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CheckboxApp - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - XThis is just some text. - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - This is just some text. - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_tooltips_in_compound_widgets - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TooltipApp - - - - - - - - - - ━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━10%                                            - - Hello, Tooltip! - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_tree_clearing_and_expansion - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TreeClearingSnapshotApp - - - - - - - - - - ▼ Left▶ Right - - - - - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_tree_example - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TreeApp - - - - - - - - - - ▼ Dune - ┗━━ ▼ Characters -     ┣━━ Paul -     ┣━━ Jessica -     ┗━━ Chani - - - - - - - - - - - - - - - - - - - - - - - - ''' -# --- -# name: test_unscoped_css - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MyApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - ┌───┐ - foo - └───┘ - ┌───┐ - bar - └───┘ - └──────────────────────────────────────────────────────────────────────────────┘ - ┌──────────────────────────────────────────────────────────────────────────────┐ - ┌───┐ - foo - └───┘ - ┌───┐ - bar - └───┘ - └──────────────────────────────────────────────────────────────────────────────┘ - ┌───────────────────┐ - This will be styled - └───────────────────┘ - - - - - - - - - - ''' -# --- -# name: test_vertical_layout - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VerticalLayoutExample - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - One - - - - - - └──────────────────────────────────────────────────────────────────────────────┘ - ┌──────────────────────────────────────────────────────────────────────────────┐ - Two - - - - - - └──────────────────────────────────────────────────────────────────────────────┘ - ┌──────────────────────────────────────────────────────────────────────────────┐ - Three - - - - - - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_vertical_max_height - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VerticalApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - - - - - - #top - - - - - - - └──────────────────────────────────────────────────────────────────────────────┘ - ┌──────────────────────────────────────────────────────────────────────────────┐ - - - - #bottom - - - - - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_vertical_min_height - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VerticalApp - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - - - - #top - - - - - └──────────────────────────────────────────────────────────────────────────────┘ - ┌──────────────────────────────────────────────────────────────────────────────┐ - - - - - - #bottom - - - - - - - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_viewport_height_and_width_properties - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ViewportUnits - - - - - - - - - - ┌──────────────────────────────────────────────────────────────────────────────┐ - Hello, world! - - - - - - - - - - - - - - - - - - - - - - └──────────────────────────────────────────────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_visibility - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Visibility - - - - - - - - - - ┌──────────────────────────────────────┐ - bar - ┌────────────────────────────────────┐┌────────────────────────────────────┐ - floatfloat - └────────────────────────────────────┘└────────────────────────────────────┘ - - - - - - - - - - - - - - - - - - - └──────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_welcome - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WelcomeApp - - - - - - - - - - -  ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓  -  ┃                                 Welcome!                                 ┃  -  ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛  - -  Textual is a TUI, or Text User Interface, framework for Python inspired by    -  modern web development. We hope you enjoy using Textual! - - - Dune quote - - ▌ "I must not fear. Fear is the mind-killer. Fear is the little-death that - ▌ brings total obliteration. I will face my fear. I will permit it to pass - ▌ over me and through me. And when it has gone past, I will turn the inner - ▌ eye to see its path. Where the fear has gone there will be nothing. Only - ▌ I will remain."                                                          - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -  OK  - ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - - - - ''' -# --- -# name: test_width_100 - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Width100PCentApp - - - - - - - - - - ┌───────────────────────────────────────────────────────────┐ - ┌─────────────────────────────────────────────────────────┐ - I want to be 100% of my parent - └─────────────────────────────────────────────────────────┘ - ┌─────────────────────────────────────────────────────────┐ - I want my parent to be wide enough to wrap me and no more - └─────────────────────────────────────────────────────────┘ - - - - - - - - - - - - - - - - - └───────────────────────────────────────────────────────────┘ - - - - - ''' -# --- -# name: test_zero_scrollbar_size - ''' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TestApp - - - - - - - - - - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - Hello, world! - - - - - ''' -# --- diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_alignment_containers.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_alignment_containers.svg new file mode 100644 index 0000000000..d4d1abf605 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_alignment_containers.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AlignContainersApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + center  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + middle  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_ansi_color_mapping[False].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_ansi_color_mapping[False].svg new file mode 100644 index 0000000000..cee95d69f7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_ansi_color_mapping[False].svg @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AnsiMappingApp + + + + + + + + + + Foreground & background                                                          +red +dim red +green +dim green +yellow +dim yellow +blue +dim blue +magenta +dim magenta +cyan +dim cyan +white +dim white +black +dim black + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_ansi_color_mapping[True].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_ansi_color_mapping[True].svg new file mode 100644 index 0000000000..884440ba70 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_ansi_color_mapping[True].svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AnsiMappingApp + + + + + + + + + + Foreground & background                                                          +red +dim red +green +dim green +yellow +dim yellow +blue +dim blue +magenta +dim magenta +cyan +dim cyan +white +dim white +black +dim black + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_app_blur.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_app_blur.svg new file mode 100644 index 0000000000..8c917b4f37 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_app_blur.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AppBlurApp + + + + + + + + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +This should be the blur style      +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +This should also be the blur style +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_fr.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_fr.svg new file mode 100644 index 0000000000..caa65f18f4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_fr.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FRApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +┌────────────────────────────┐ +Hello one line               +┌──────────────────────────┐ +Widget#child + + + + + + + + + + + + + +└──────────────────────────┘ + +Two +Lines with 1x2 margin + +└────────────────────────────┘ +└──────────────────────────────────────────────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_grid.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_grid.svg new file mode 100644 index 0000000000..79be6b73f6 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_grid.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GridApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +foo         ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +Longer label▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +└──────────────────────────────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────────────────────────────┐ +foo▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +Longer label▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +└──────────────────────────────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────────────────────────────┐ +foo bar foo bar foo bar foo ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +bar foo bar foo bar foo bar  +foo bar foo bar foo bar ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +Longer label                  ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +└──────────────────────────────────────────────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_grid_default_height.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_grid_default_height.svg new file mode 100644 index 0000000000..2812eab76a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_grid_default_height.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GridHeightAuto + + + + + + + + + + GridHeightAuto +Here is some text before the grid                                                +┌──────────────────────────────────────────────────────────────────────────────┐ +Cell #0                   Cell #1                   Cell #2                    +Cell #3                   Cell #4                   Cell #5                    +Cell #6                   Cell #7                   Cell #8                    +└──────────────────────────────────────────────────────────────────────────────┘ +Here is some text after the grid                                                 + + + + + + + + + + + + + + + + g Grid  v Vertical  h Horizontal  c Container  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_tab_active.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_tab_active.svg new file mode 100644 index 0000000000..777e57bfe6 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_tab_active.svg @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ExampleApp + + + + + + + + + + +Parent 1Parent 2 +━━━━━━━━━━━━╸━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + + +Child 2.1Child 2.2 +━━━━━━━━━━━━━╸━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button 2.2  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + SPACE Focus button 2.2  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_table.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_table.svg new file mode 100644 index 0000000000..ccfb82f1cb --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_table.svg @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + MyApp +╭──────────────────╮╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +ok                ││test                                                                                               +╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍││╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ +││╭─ 0 ──────────────────────────────────────╮╭─ 1 ──────────────────────────────────────╮╭─ 2 ─────│ +│││││││ +│││ Foo       Bar         Baz              ││ Foo       Bar         Baz              ││ Foo      +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY▁▁││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY▁▁││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +│││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH  0123456789  IJKLMNOPQRSTUVWXY││ ABCDEFGH +││╰──────────────────────────────────────────╯╰──────────────────────────────────────────╯╰─────────│ +││ +╰──────────────────╯╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_width_input.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_width_input.svg new file mode 100644 index 0000000000..bff7bce97d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_auto_width_input.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + InputWidthAutoApp + + + + + + + + + + InputWidthAutoApp +▔▔▔▔▔▔▔▔▔▔ +Hello +▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_big_buttons.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_big_buttons.svg new file mode 100644 index 0000000000..5a76dffcd2 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_big_buttons.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ButtonApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + + Hello  + + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + Hello  + World !!  + + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_bindings_screen_overrides_show.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_bindings_screen_overrides_show.svg new file mode 100644 index 0000000000..81474728c7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_bindings_screen_overrides_show.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HideBindingApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + p Binding shown  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_blur_on_disabled.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_blur_on_disabled.svg new file mode 100644 index 0000000000..71ab54c3c2 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_blur_on_disabled.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BlurApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +foo                                                                        +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_border_alpha.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_border_alpha.svg new file mode 100644 index 0000000000..1843e17b1e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_border_alpha.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BorderAlphaApp + + + + + + + + + + ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_outline.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_outline.svg new file mode 100644 index 0000000000..5c810d08e7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_outline.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ButtonIssue + + + + + + + + + + ┌──────────────┐ + Test  +└──────────────┘ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_widths.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_widths.svg new file mode 100644 index 0000000000..eabd05e04a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_widths.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HorizontalWidthAutoApp + + + + + + + + + + ┌────────────────────────────┐ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + This is a very wide button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +└────────────────────────────┘ +┌────────────────────────────────────────────────────────┐ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + This is a very wide button  This is a very wide button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +└────────────────────────────────────────────────────────┘ + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_with_console_markup.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_with_console_markup.svg new file mode 100644 index 0000000000..c508a18efd --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_with_console_markup.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ButtonsWithMarkupApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Focused Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Blurred Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Disabled Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_with_multiline_label.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_with_multiline_label.svg new file mode 100644 index 0000000000..cc5bf41bb9 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_button_with_multiline_label.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ButtonWithMultilineLabelApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  + with  + multi-line  + label  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_buttons_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_buttons_render.svg new file mode 100644 index 0000000000..4e3191c0bd --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_buttons_render.svg @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ButtonsApp + + + + + + + + + + +Standard ButtonsDisabled Buttons + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Default  Default  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Primary!  Primary!  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Success!  Success!  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Warning!  Warning!  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Error!  Error!  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_checkbox_example.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_checkbox_example.svg new file mode 100644 index 0000000000..9954dd99a0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_checkbox_example.svg @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CheckboxApp + + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +X Arrakis 😓 +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔ +X Caladan +▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔ +X Chusuk +▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +XGiedi Prime +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔ +XGinaz +▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔ +X Grumman +▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▃▃ +XKaitain +▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_collapsed.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_collapsed.svg new file mode 100644 index 0000000000..37b5e7883a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_collapsed.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CollapsibleApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▶ Leto + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▶ Jessica + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▶ Paul + + + + + + + + + + + + + + + + c Collapse All  e Expand All  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_custom_symbol.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_custom_symbol.svg new file mode 100644 index 0000000000..12ecbf8a5f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_custom_symbol.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CollapsibleApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +>>> Togglev Toggle + +Hello, world.                        + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_expanded.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_expanded.svg new file mode 100644 index 0000000000..902b008e19 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_expanded.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CollapsibleApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▼ Leto + +# Duke Leto I Atreides + +Head of House Atreides.                                                    + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▼ Jessica + + + +Lady Jessica + +  Bene Gesserit and concubine of Leto, and mother of Paul and Alia. + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▼ Paul▆▆ + + + + c Collapse All  e Expand All  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_nested.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_nested.svg new file mode 100644 index 0000000000..2a4926be45 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_nested.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CollapsibleApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▼ Toggle + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▶ Toggle + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_render.svg new file mode 100644 index 0000000000..ef0e616b9a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_collapsible_render.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CollapsibleApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▼ Leto + +# Duke Leto I Atreides + +Head of House Atreides.                                                      + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▼ Jessica + + + +Lady Jessica + +  Bene Gesserit and concubine of Leto, and mother of Paul and Alia. + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▶ Paul + + + + c Collapse All  e Expand All  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_columns_height.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_columns_height.svg new file mode 100644 index 0000000000..c165ee6fe4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_columns_height.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HeightApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +┌────────────────────┐┌────────────────┐┌──────────────────────┐ +As tall as container││This has default││I have a static height +││height││ +││but a││ +││few lines││ +│└────────────────┘│ + + + + + + + + + +└────────────────────┘└──────────────────────┘ +└──────────────────────────────────────────────────────────────────────────────┘ + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_command_palette.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_command_palette.svg new file mode 100644 index 0000000000..5241118c28 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_command_palette.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CommandPaletteApp + + + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +🔎A + + +  This is a test of this code 0                                                  +  This is a test of this code 1                                                  +  This is a test of this code 2                                                  +  This is a test of this code 3                                                  +  This is a test of this code 4                                                  +  This is a test of this code 5                                                  +  This is a test of this code 6                                                  +  This is a test of this code 7                                                  +  This is a test of this code 8                                                  +  This is a test of this code 9                                                  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_command_palette_discovery.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_command_palette_discovery.svg new file mode 100644 index 0000000000..7202c8e17d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_command_palette_discovery.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CommandPaletteApp + + + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +🔎Search for commands… + + +  This is a test of this code 0                                                  +  This is a test of this code 1                                                  +  This is a test of this code 2                                                  +  This is a test of this code 3                                                  +  This is a test of this code 4                                                  +  This is a test of this code 5                                                  +  This is a test of this code 6                                                  +  This is a test of this code 7                                                  +  This is a test of this code 8                                                  +  This is a test of this code 9                                                  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_component_text_opacity.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_component_text_opacity.svg new file mode 100644 index 0000000000..1749e8bd22 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_component_text_opacity.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TestApp + + + + + + + + + + WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW +WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_initial.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_initial.svg new file mode 100644 index 0000000000..4d9cce465e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_initial.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ContentSwitcherApp + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + DataTable  Markdown  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +╭────────────────────────────────────────────────────────────────────╮ + Book                                 Year  + Dune                                 1965  + Dune Messiah                         1969  + Children of Dune                     1976  + God Emperor of Dune                  1981  + Heretics of Dune                     1984  + Chapterhouse: Dune                   1985  + + + + + + + + + + +╰────────────────────────────────────────────────────────────────────╯ + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_switch.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_switch.svg new file mode 100644 index 0000000000..72d171cfca --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_content_switcher_example_switch.svg @@ -0,0 +1,262 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ContentSwitcherApp + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + DataTable  Markdown  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +╭─────────────────────────────────────────╮ + + +Three Flavours Cornetto + +  The Three Flavours Cornetto trilogy  +  is an anthology series of British  +  comedic genre films directed by Edgar   +  Wright. + + +Shaun of the Dead + + +UK Release   +Flavour   Date        Director    +   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━    +   Strawberry 2004-04-09   Edgar          +                           Wright         + + + +Hot Fuzz + + +UK Release    +Flavour Date         Director     +   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━    +   Classico 2007-02-17    Edgar Wright    + + + +The World's End + + +UK Release     +FlavourDate          Director     +   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━    +   Mint    2013-07-19     Edgar Wright    + + + + + +╰─────────────────────────────────────────╯ + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_hot_reloading.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_hot_reloading.svg new file mode 100644 index 0000000000..f5d367467f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_hot_reloading.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HotReloadingApp + + + + + + + + + + Hello, world!                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_hot_reloading_on_screen.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_hot_reloading_on_screen.svg new file mode 100644 index 0000000000..f5d367467f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_hot_reloading_on_screen.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HotReloadingApp + + + + + + + + + + Hello, world!                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[align.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[align.py].svg new file mode 100644 index 0000000000..1d9dbc5109 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[align.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AlignApp + + + + + + + + + + + + + + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + +Vertical alignment with Textual + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + +Take note, browsers. + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[align_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[align_all.py].svg new file mode 100644 index 0000000000..42dcd43a0f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[align_all.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AlignAllApp + + + + + + + + + + ┌────────────────────────┐┌────────────────────────┐┌────────────────────────┐ +left topcenter topright top + + + + +└────────────────────────┘└────────────────────────┘└────────────────────────┘ + +┌────────────────────────┐┌────────────────────────┐┌────────────────────────┐ + + +left middlecenter middleright middle + + +└────────────────────────┘└────────────────────────┘└────────────────────────┘ + +┌────────────────────────┐┌────────────────────────┐┌────────────────────────┐ + + + + + +left bottomcenter bottomright bottom +└────────────────────────┘└────────────────────────┘└────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[background.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[background.py].svg new file mode 100644 index 0000000000..aa95c6937c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[background.py].svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BackgroundApp + + + + + + + + + + + + +Widget 1 + + + + + + + +Widget 2 + + + + + + + +Widget 3 + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[background_transparency.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[background_transparency.py].svg new file mode 100644 index 0000000000..0777d5b497 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[background_transparency.py].svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BackgroundTransparencyApp + + + + + + + + + + + + + + + + + + + + +10%20%30%40%50%60%70%80%90%100% + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border.py].svg new file mode 100644 index 0000000000..17df5734de --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BorderApp + + + + + + + + + + +┌────────────────────────────────────────────────────────────────────────────┐ + +My border is solid red + +└────────────────────────────────────────────────────────────────────────────┘ + +┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓ + +My border is dashed green + +┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +My border is tall blue + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_all.py].svg new file mode 100644 index 0000000000..961d729b4b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_all.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AllBordersApp + + + + + + + + + + ++----------------+┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓╔═════════════════╗ +|ascii|blankdasheddouble ++----------------+┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛╚═════════════════╝ + + + +┏━━━━━━━━━━━━━━━━┓▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▗▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▖ +heavyhidden/nonehkeyinner +┗━━━━━━━━━━━━━━━━┛▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▝▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▘ + + + +▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜█████████████████▎╭────────────────╮┌─────────────────┐ +outerpanelroundsolid +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎╰────────────────╯└─────────────────┘ + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█▏                ▕▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +tallthickvkeywide +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▏                ▕▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_sub_title_align_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_sub_title_align_all.py].svg new file mode 100644 index 0000000000..c83db769bd --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_sub_title_align_all.py].svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BorderSubTitleAlignAll + + + + + + + + + + + +▏  Border title      ▕╭─ Lef… ─╮▁▁▁▁▁ Left ▁▁▁▁▁ +This is the story ofa Pythondeveloper that +▏   Border subtitle  ▕╰─ Cen… ─╯▔▔▔▔▔ @@@ ▔▔▔▔▔▔ + + + + + ++--------------+─Title───────────────── +|had to fill up|             nine labels          and ended up redoing it   ++- Left -------+──────────────Subtitle─ + + + + +─Title, but really looo…─ +─Title, but r…──Title, but reall…─ +because the first try       had some labels          that were too long.     +─Subtitle, bu…──Subtitle, but re…─ +─Subtitle, but really l…─ + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_subtitle_align.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_subtitle_align.py].svg new file mode 100644 index 0000000000..b789c41f67 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_subtitle_align.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BorderSubtitleAlignApp + + + + + + + + + + +┌────────────────────────────────────────────────────────────────────────────┐ + +My subtitle is on the left. + +└─ < Left ───────────────────────────────────────────────────────────────────┘ + +┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓ + +My subtitle is centered + +┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ Centered! ╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎ + +My subtitle is on the right + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ Right > ▁▎ + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_title_align.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_title_align.py].svg new file mode 100644 index 0000000000..a97c7e8a6b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_title_align.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BorderTitleAlignApp + + + + + + + + + + +┌─ < Left ───────────────────────────────────────────────────────────────────┐ + +My title is on the left. + +└────────────────────────────────────────────────────────────────────────────┘ + +┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ Centered! ╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓ + +My title is centered + +┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Right > ▔▎ + +My title is on the right + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎ + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_title_colors.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_title_colors.py].svg new file mode 100644 index 0000000000..20c7686f17 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[border_title_colors.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BorderTitleApp + + + + + + + + + + + + + + + +┏━ Textual Rocks ━━━━━━━━━━━━━┓ + + + + +Hello, World! + + + + +┗━━━━━━━━━━━━━ Textual Rocks ━┛ + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[box_sizing.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[box_sizing.py].svg new file mode 100644 index 0000000000..0403d2613e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[box_sizing.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BoxSizingApp + + + + + + + + + + + +  ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁   + +I'm using border-box! + +  ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔   + + +  ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁   + +I'm using content-box! + + + + + +  ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔   + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[color.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[color.py].svg new file mode 100644 index 0000000000..f37b048512 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[color.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ColorApp + + + + + + + + + + + + +I'm red! + + + + + + + +I'm rgb(0, 255, 0)! + + + + + + + +I'm hsl(240, 100%, 50%)! + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[color_auto.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[color_auto.py].svg new file mode 100644 index 0000000000..ef077a4a8f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[color_auto.py].svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ColorApp + + + + + + + + + + +The quick brown fox jumps over the lazy dog! + + + + +The quick brown fox jumps over the lazy dog! + + + + +The quick brown fox jumps over the lazy dog! + + + + +The quick brown fox jumps over the lazy dog! + + + + +The quick brown fox jumps over the lazy dog! + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[column_span.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[column_span.py].svg new file mode 100644 index 0000000000..90583fdc50 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[column_span.py].svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + + +#p1 + + + + + +#p2#p3 + + + + + +#p4#p5 + + + + + +#p6#p7 + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[content_align.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[content_align.py].svg new file mode 100644 index 0000000000..f9bb91a2fd --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[content_align.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ContentAlignApp + + + + + + + + + + +With content-align you can... + + + + + + + + + +...Easily align content... + + + + + + + + + + +...Horizontally and vertically! + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[content_align_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[content_align_all.py].svg new file mode 100644 index 0000000000..9f6f0e1061 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[content_align_all.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AllContentAlignApp + + + + + + + + + + left topcenter topright top + + + + + + + + + + +left middlecenter middleright middle + + + + + + + + + + + +left bottomcenter bottomright bottom + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[display.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[display.py].svg new file mode 100644 index 0000000000..5f5d0ed5d8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[display.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DisplayApp + + + + + + + + + + ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃Widget 1 + + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃Widget 3 + + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[dock_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[dock_all.py].svg new file mode 100644 index 0000000000..8ecd031cb8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[dock_all.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DockAllApp + + + + + + + + + + + + +╭──────────────────────────────────────────────────────────╮ +                           top                             + + + + + + +left                                                 right + + + + + + + +                          bottom                           +╰──────────────────────────────────────────────────────────╯ + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid.py].svg new file mode 100644 index 0000000000..4791efebd1 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GridApp + + + + + + + + + + +Grid cell 1Grid cell 2 + +row-span: 3; +column-span: 2; + + +Grid cell 3 + + + + + +Grid cell 4 + + + + + +Grid cell 5Grid cell 6Grid cell 7 + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_columns.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_columns.py].svg new file mode 100644 index 0000000000..c8f40e989a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_columns.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ╭──────────╮╭──────────────╮╭──────────────────────╮╭──────────╮╭──────────────╮ +1fr││width = 16││2fr││1fr││width = 16 +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +╰──────────╯╰──────────────╯╰──────────────────────╯╰──────────╯╰──────────────╯ +╭──────────╮╭──────────────╮╭──────────────────────╮╭──────────╮╭──────────────╮ +1fr││width = 16││2fr││1fr││width = 16 +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +││││││││ +╰──────────╯╰──────────────╯╰──────────────────────╯╰──────────╯╰──────────────╯ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_gutter.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_gutter.py].svg new file mode 100644 index 0000000000..46a3f0fa38 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_gutter.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ╭─────────────────────────────────────╮╭─────────────────────────────────────╮ + +12 + +╰─────────────────────────────────────╯╰─────────────────────────────────────╯ + +╭─────────────────────────────────────╮╭─────────────────────────────────────╮ + +34 + +╰─────────────────────────────────────╯╰─────────────────────────────────────╯ + +╭─────────────────────────────────────╮╭─────────────────────────────────────╮ + +56 + +╰─────────────────────────────────────╯╰─────────────────────────────────────╯ + +╭─────────────────────────────────────╮╭─────────────────────────────────────╮ + +78 + + +╰─────────────────────────────────────╯╰─────────────────────────────────────╯ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_rows.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_rows.py].svg new file mode 100644 index 0000000000..6d523cf260 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_rows.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +1fr││1fr +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ +╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +││ +height = 6││height = 6 +││ +││ +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ +╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +││ +25%││25% +││ +││ +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ +╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +1fr││1fr +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ +╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +││ +height = 6││height = 6 +││ +││ +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_size_both.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_size_both.py].svg new file mode 100644 index 0000000000..449f34e217 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_size_both.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +││ +1││2 +││ +││ +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ +╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +││ +3││4 +││ +││ +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ +╭──────────────────────────────────────╮ + +5 + + +╰──────────────────────────────────────╯ + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_size_columns.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_size_columns.py].svg new file mode 100644 index 0000000000..4c1ba0406c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[grid_size_columns.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +││ +││ +1││2 +││ +││ +││ +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ +╭──────────────────────────────────────╮╭──────────────────────────────────────╮ +││ +││ +3││4 +││ +││ +││ +╰──────────────────────────────────────╯╰──────────────────────────────────────╯ +╭──────────────────────────────────────╮ + + +5 + + + +╰──────────────────────────────────────╯ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[hatch.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[hatch.py].svg new file mode 100644 index 0000000000..743bbc4346 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[hatch.py].svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HatchApp + + + + + + + + + + ┌─ cross ──────┐┌─ horizontal ─┐┌─ custom ─────┐┌─ left ───────┐┌─ right ──────┐ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╳╳╳╳╳╳╳╳╳╳╳╳╳╳││──────────────││TTTTTTTTTTTTTT││╲╲╲╲╲╲╲╲╲╲╲╲╲╲││╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +└──────────────┘└──────────────┘└──────────────┘└──────────────┘└──────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[height.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[height.py].svg new file mode 100644 index 0000000000..81991b5099 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[height.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HeightApp + + + + + + + + + + Widget + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[height_comparison.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[height_comparison.py].svg new file mode 100644 index 0000000000..2249581009 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[height_comparison.py].svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HeightComparisonApp + + + + + + + + + + #cells· +· +· +#percent· + +· +#w· +· +· + +#h· +· +· +· +#vw +· +· +· +#vh· + +#auto· +#fr1· +#fr2· +· + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[keyline.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[keyline.py].svg new file mode 100644 index 0000000000..984905f97c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[keyline.py].svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KeylineApp + + + + + + + + + + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓ + + +#foo + + +┣━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┫#bar + + +Placeholder + + +┣━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━┫ + + +#baz + + + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[keyline_horizontal.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[keyline_horizontal.py].svg new file mode 100644 index 0000000000..9be8fec043 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[keyline_horizontal.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KeylineApp + + + + + + + + + + ┌─────────────────────────┬─────────────────────────┬──────────────────────────┐ + + + + + + + + + + +PlaceholderPlaceholderPlaceholder + + + + + + + + + + + +└─────────────────────────┴─────────────────────────┴──────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[layout.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[layout.py].svg new file mode 100644 index 0000000000..c994a65259 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[layout.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LayoutApp + + + + + + + + + + +Layout + +Is + +Vertical + + +LayoutIsHorizontal + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_background.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_background.py].svg new file mode 100644 index 0000000000..63a0871d73 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_background.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LinkBackgroundApp + + + + + + + + + + Visit the Textualize website.                                                    +Click here for the bell sound.                                                   +You can also click here for the bell sound.                                      +Exit this application. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_background_hover.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_background_hover.py].svg new file mode 100644 index 0000000000..42d1c19bfc --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_background_hover.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LinkHoverBackgroundApp + + + + + + + + + + Visit the Textualize website.                                                    +Click here for the bell sound.                                                   +You can also click here for the bell sound.                                      +Exit this application. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_color.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_color.py].svg new file mode 100644 index 0000000000..edf6054984 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_color.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LinkColorApp + + + + + + + + + + Visit the Textualize website.                                                    +Click here for the bell sound.                                                   +You can also click here for the bell sound.                                      +Exit this application. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_color_hover.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_color_hover.py].svg new file mode 100644 index 0000000000..a76245768b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_color_hover.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LinkHoverColorApp + + + + + + + + + + Visit the Textualize website.                                                    +Click here for the bell sound.                                                   +You can also click here for the bell sound.                                      +Exit this application. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_style.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_style.py].svg new file mode 100644 index 0000000000..15100fb267 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_style.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LinkStyleApp + + + + + + + + + + Visit the Textualize website.                                                    +Click here for the bell sound.                                                   +You can also click here for the bell sound.                                      +Exit this application. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_style_hover.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_style_hover.py].svg new file mode 100644 index 0000000000..5ab9dc8e50 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[link_style_hover.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LinkHoverStyleApp + + + + + + + + + + Visit the Textualize website.                                                    +Click here for the bell sound.                                                   +You can also click here for the bell sound.                                      +Exit this application. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[links.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[links.py].svg new file mode 100644 index 0000000000..6036dd28ca --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[links.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LinksApp + + + + + + + + + + Here is a link which you can click! + +Here is a link which you can click! + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[margin.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[margin.py].svg new file mode 100644 index 0000000000..9a242373b8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[margin.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarginApp + + + + + + + + + + + + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see  +its path. +Where the fear has gone there will be nothing. Only I will  +remain. +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[margin_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[margin_all.py].svg new file mode 100644 index 0000000000..43ea4a2e93 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[margin_all.py].svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarginAllApp + + + + + + + + + + ╭────────────────╮╭─────────────────╮╭────────────────╮╭─────────────────╮ + + + +marginmargin: 1  +no marginmargin: 1: 1 51 2 6 + + + + +╰────────────────╯╰─────────────────╯╰────────────────╯╰─────────────────╯ + +╭────────────────╮╭─────────────────╮╭────────────────╮╭─────────────────╮ + + +margin-bottom: 4 + +margin-right: margin-left: 3 +3 +margin-top: 4 + + + +╰────────────────╯╰─────────────────╯╰────────────────╯╰─────────────────╯ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[max_height.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[max_height.py].svg new file mode 100644 index 0000000000..137f4d0809 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[max_height.py].svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MaxHeightApp + + + + + + + + + + + + +max-height: 10w +max-height: 10 +max-height: 50% + + + + + +max-height: 999 + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[max_width.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[max_width.py].svg new file mode 100644 index 0000000000..7b14e2ee82 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[max_width.py].svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MaxWidthApp + + + + + + + + + + + +max-width:  +50h + + + + +max-width: 999 + + + + + +max-width: 50% + + + + + +max-width: 30 + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[min_height.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[min_height.py].svg new file mode 100644 index 0000000000..5cfcc54e8b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[min_height.py].svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MinHeightApp + + + + + + + + + + + + + + +min-height: 25% + + +min-height: 75% + + + + + +min-height: 30 +min-height: 40w + + +▃▃ + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[min_width.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[min_width.py].svg new file mode 100644 index 0000000000..146d99d734 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[min_width.py].svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MinWidthApp + + + + + + + + + + + +min-width: 25% + + + + +min-width: 75% + + + + + +min-width: 100 + + + + + +min-width: 400h + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[offset.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[offset.py].svg new file mode 100644 index 0000000000..d41067c4fc --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[offset.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OffsetApp + + + + + + + + + + +Chani (offset 0  +▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜-3) + + + +▌Paul (offset 8 2)▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ + + + +▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ + + +▌Duncan (offset 4  +▌10) + + + +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[opacity.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[opacity.py].svg new file mode 100644 index 0000000000..dabedbfa8b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[opacity.py].svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OpacityApp + + + + + + + + + + ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ +opacity: 0% + +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ +▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ + +opacity: 25% + +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ +▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ + +opacity: 50% + +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ +▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ + +opacity: 75% + +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ +▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ + +opacity: 100% + +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline.py].svg new file mode 100644 index 0000000000..1436be3e7d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OutlineApp + + + + + + + + + + + + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +ear is the mind-killer. +ear is the little-death that brings total obliteration. + will face my fear. + will permit it to pass over me and through me. +nd when it has gone past, I will turn the inner eye to see its +ath. +here the fear has gone there will be nothing. Only I will  +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline_all.py].svg new file mode 100644 index 0000000000..4aa74924c1 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline_all.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AllOutlinesApp + + + + + + + + + + +------------------+┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓ +|ascii|blankdashed ++------------------+┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛ + + +╔══════════════════╗┏━━━━━━━━━━━━━━━━━━┓ +doubleheavyhidden/none +╚══════════════════╝┗━━━━━━━━━━━━━━━━━━┛ + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▗▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▖ +hkeyinnernone +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▝▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▘ + + +▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜╭──────────────────╮┌──────────────────┐ +outerroundsolid +▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟╰──────────────────╯└──────────────────┘ + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎▏                  ▕▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +tallvkeywide +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎▏                  ▕▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline_vs_border.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline_vs_border.py].svg new file mode 100644 index 0000000000..ed503e7926 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[outline_vs_border.py].svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OutlineBorderApp + + + + + + + + + + ╭───────────────────────────────────────────────────────────────────╮ +ear is the mind-killer. +ear is the little-death that brings total obliteration. + will face my fear. + will permit it to pass over me and through me. +nd when it has gone past, I will turn the inner eye to see its path +here the fear has gone there will be nothing. Only I will remain. +╰───────────────────────────────────────────────────────────────────╯ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path. +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +╭─────────────────────────────────────────────────────────────────────╮ +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path. +╰─────────────────────────────────────────────────────────────────────╯ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[overflow.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[overflow.py].svg new file mode 100644 index 0000000000..718af322c6 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[overflow.py].svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OverflowApp + + + + + + + + + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +I must not fear.I must not fear. +Fear is the mind-killer.Fear is the mind-killer. +Fear is the little-death that Fear is the little-death that  +brings total obliteration.brings total obliteration. +I will face my fear.I will face my fear. +I will permit it to pass over meI will permit it to pass over me  +and through me.and through me. +And when it has gone past, I And when it has gone past, I will  +will turn the inner eye to see turn the inner eye to see its  +its path.▁▁path. +Where the fear has gone there Where the fear has gone there will +will be nothing. Only I will be nothing. Only I will remain. +remain.▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁I must not fear. +I must not fear.Fear is the mind-killer. +Fear is the mind-killer.Fear is the little-death that  +Fear is the little-death that brings total obliteration. +brings total obliteration.I will face my fear. +I will face my fear.I will permit it to pass over me  +I will permit it to pass over meand through me. + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[padding.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[padding.py].svg new file mode 100644 index 0000000000..1a84cd793c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[padding.py].svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PaddingApp + + + + + + + + + + + + + +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its  +path. +Where the fear has gone there will be nothing. Only I will  +remain. + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[padding_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[padding_all.py].svg new file mode 100644 index 0000000000..243d985e05 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[padding_all.py].svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PaddingAllApp + + + + + + + + + + no padding +padding: 1padding:padding: 1 1 +1 52 6 + + + + + + + + + +padding-right: 3padding-bottom: 4padding-left: 3 + + + +padding-top: 4 + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[row_span.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[row_span.py].svg new file mode 100644 index 0000000000..56ad130772 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[row_span.py].svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + + +#p4 + + +#p3 + + +#p2 + + +#p1 + + +#p5 + + +#p6 + + +#p7 + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_corner_color.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_corner_color.py].svg new file mode 100644 index 0000000000..db9630ec9a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_corner_color.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollbarCornerColorApp + + + + + + + + + + I must not fear. Fear is the mind-killer. Fear is the little-death that brings +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path. +Where the fear has gone there will be nothing. Only I will remain.▅▅ +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path. +Where the fear has gone there will be nothing. Only I will remain. +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path. +Where the fear has gone there will be nothing. Only I will remain. +I must not fear. + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_gutter.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_gutter.py].svg new file mode 100644 index 0000000000..287c9aa165 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_gutter.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollbarGutterApp + + + + + + + + + + I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path. +Where the fear has gone there will be nothing. Only I will remain. + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_size.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_size.py].svg new file mode 100644 index 0000000000..3a056626c6 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_size.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollbarApp + + + + + + + + + + + +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration.▁▁▁▁ +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path. +Where the fear has gone there will be nothing. Only I will remain. +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_size2.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_size2.py].svg new file mode 100644 index 0000000000..d8ef0eaf94 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbar_size2.py].svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollbarApp + + + + + + + + + + I must not fear.I must not fear.I must not fear. +Fear is the mind-killer.Fear is the mind-killer.Fear is the mind-killer. +Fear is the little-death Fear is the little-death tFear is the little-death  +I will face my fear.I will face my fear.I will face my fear. +I will permit it to pass I will permit it to pass oI will permit it to pass  +And when it has gone pastAnd when it has gone past,And when it has gone past +Where the fear has gone tWhere the fear has gone thWhere the fear has gone t +I must not fear.I must not fear.I must not fear. +Fear is the mind-killer.Fear is the mind-killer.Fear is the mind-killer. +Fear is the little-death Fear is the little-death tFear is the little-death  +I will face my fear.I will face my fear.I will face my fear.▇▇ +I will permit it to pass I will permit it to pass oI will permit it to pass  +And when it has gone pastAnd when it has gone past,And when it has gone past +Where the fear has gone tWhere the fear has gone thWhere the fear has gone t +I must not fear.I must not fear.I must not fear. +Fear is the mind-killer.Fear is the mind-killer.Fear is the mind-killer. +Fear is the little-death Fear is the little-death tFear is the little-death  +I will face my fear.I will face my fear.I will face my fear. +I will permit it to pass I will permit it to pass oI will permit it to pass  +And when it has gone past, +Where the fear has gone th +I must not fear. +Fear is the mind-killer. + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbars.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbars.py].svg new file mode 100644 index 0000000000..ae33356a87 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbars.py].svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollbarApp + + + + + + + + + + I must not fear.I must not fear. +Fear is the mind-killer.Fear is the mind-killer. +Fear is the little-death that brings tFear is the little-death that brings t +I will face my fear.I will face my fear. +I will permit it to pass over me and tI will permit it to pass over me and t +And when it has gone past, I will turnAnd when it has gone past, I will turn +see its path.see its path. +Where the fear has gone there will be Where the fear has gone there will be  +will remain.will remain. +I must not fear.I must not fear. +Fear is the mind-killer.Fear is the mind-killer. +Fear is the little-death that brings tFear is the little-death that brings t +I will face my fear.I will face my fear. +I will permit it to pass over me and tI will permit it to pass over me and t +And when it has gone past, I will turnAnd when it has gone past, I will turn +see its path.▃▃see its path.▃▃ +Where the fear has gone there will be Where the fear has gone there will be  +will remain.will remain. +I must not fear.I must not fear. +Fear is the mind-killer.Fear is the mind-killer. +Fear is the little-death that brings tFear is the little-death that brings t +I will face my fear.I will face my fear. +I will permit it to pass over me and tI will permit it to pass over me and t + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbars2.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbars2.py].svg new file mode 100644 index 0000000000..033989a904 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[scrollbars2.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Scrollbar2App + + + + + + + + + + I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path.          +Where the fear has gone there will be nothing. Only I will remain. +I must not fear. +Fear is the mind-killer.▇▇ +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path.          +Where the fear has gone there will be nothing. Only I will remain. +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. +I will face my fear. +I will permit it to pass over me and through me. +And when it has gone past, I will turn the inner eye to see its path.          +Where the fear has gone there will be nothing. Only I will remain. +I must not fear. +Fear is the mind-killer. +Fear is the little-death that brings total obliteration. + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_align.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_align.py].svg new file mode 100644 index 0000000000..1418702b56 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_align.py].svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAlign + + + + + + + + + + +Left alignedCenter aligned +I must not fear. Fear is the            I must not fear. Fear is the     +mind-killer. Fear is the                  mind-killer. Fear is the       +little-death that brings total         little-death that brings total    +obliteration. I will face my fear. Iobliteration. I will face my fear. I +will permit it to pass over me and   will permit it to pass over me and  +through me.                                     through me.              + + + + + +Right alignedJustified +        I must not fear. Fear is theI  must  not  fear.  Fear   is   the +            mind-killer. Fear is themind-killer.     Fear     is     the +      little-death that brings totallittle-death   that   brings   total +obliteration. I will face my fear. Iobliteration. I will face my fear. I +  will permit it to pass over me andwill permit it to pass over  me  and +                         through me.through me. + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_opacity.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_opacity.py].svg new file mode 100644 index 0000000000..9afc44eeec --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_opacity.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextOpacityApp + + + + + + + + + + + + + +                               text-opacity: 25%                                 + + + + +                               text-opacity: 50%                                 + + + + +                               text-opacity: 75%                                 + + + + +                               text-opacity: 100%                                + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_style.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_style.py].svg new file mode 100644 index 0000000000..73c57898ed --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_style.py].svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextStyleApp + + + + + + + + + + I must not fear.I must not fear.I must not fear. +Fear is the mind-killer.Fear is the mind-killer.Fear is the mind-killer. +Fear is the little-death Fear is the little-death Fear is the little-death  +that brings total that brings total that brings total  +obliteration.obliteration.obliteration. +I will face my fear.I will face my fear.I will face my fear. +I will permit it to pass I will permit it to pass I will permit it to pass  +over me and through me.over me and through me.over me and through me. +And when it has gone past,And when it has gone past, And when it has gone past,  +I will turn the inner eye I will turn the inner eye I will turn the inner eye  +to see its path.to see its path.to see its path. +Where the fear has gone Where the fear has gone Where the fear has gone  +there will be nothing. there will be nothing. Onlythere will be nothing. Only +Only I will remain.I will remain.I will remain. + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_style_all.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_style_all.py].svg new file mode 100644 index 0000000000..91ffb0bf99 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[text_style_all.py].svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AllTextStyleApp + + + + + + + + + + +  nonebolditalicreverse +  I must not fear.I must not fear.I must not fear.I must not fear. +  Fear is the Fear is the Fear is the Fear is the  +  mind-killer.mind-killer.mind-killer.mind-killer. +  Fear is the Fear is the Fear is the Fear is the  +  little-death that  little-death that little-death thatlittle-death that  +  brings total brings total brings total brings total  +  obliteration.obliteration.obliteration.obliteration. +  I will face my I will face my I will face my I will face my  +  fear.fear.fear.fear. + +strikeunderlinebold italicreverse strike +I must not fear.I must not fear.I must not fear.I must not fear. +Fear is the Fear is the Fear is the Fear is the  +mind-killer.mind-killer.mind-killer.mind-killer. +Fear is the Fear is the Fear is the Fear is the  +little-death thatlittle-death that little-death thatlittle-death that  +brings total brings total brings total brings total  +obliteration.obliteration.obliteration.obliteration. +I will face my I will face my I will face my I will face my  +fear.fear.fear.fear. +I will permit it I will permit it I will permit it I will permit it  + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[tint.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[tint.py].svg new file mode 100644 index 0000000000..80ae144f69 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[tint.py].svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TintApp + + + + + + + + + + +tint: green 0%; + + +tint: green 10%; + + +tint: green 20%; + + +tint: green 30%; + + +tint: green 40%; + + +tint: green 50%; +▄▄ + +tint: green 60%; + + +tint: green 70%; + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[visibility.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[visibility.py].svg new file mode 100644 index 0000000000..c95545f629 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[visibility.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VisibilityApp + + + + + + + + + + ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃Widget 1 + + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃Widget 3 + + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[visibility_containers.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[visibility_containers.py].svg new file mode 100644 index 0000000000..099e47db0c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[visibility_containers.py].svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VisibilityContainersApp + + + + + + + + + + + + +PlaceholderPlaceholderPlaceholder + + + + + + + + + + + + + + + +PlaceholderPlaceholderPlaceholder + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[width.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[width.py].svg new file mode 100644 index 0000000000..74e4369b97 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[width.py].svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WidthApp + + + + + + + + + + Widget + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[width_comparison.py].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[width_comparison.py].svg new file mode 100644 index 0000000000..3e5645ea23 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_css_property[width_comparison.py].svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WidthComparisonApp + + + + + + + + + + + + + + + + + + + + +#cells#percent#w#h#vw#vh#auto#fr1#fr3 + + + + + + + + + + + +····•····•····•····•····•····•····•····•····•····•····•····•····•····•····•····• + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_data_table_in_tabs.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_data_table_in_tabs.svg new file mode 100644 index 0000000000..4564153f55 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_data_table_in_tabs.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Dashboard + + + + + + + + + + +Workflows +━╸━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + + Id   Description  Status  Result Id  + 1    2            3       4          + a    b            c       d          + fee  fy           fo      fum        + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_column.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_column.svg new file mode 100644 index 0000000000..b2a677069f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_column.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AddColumn + + + + + + + + + +  Movies          No Default  With Default  Long Default          + Severance       ABC           01234567890123456789  + Foundation      ABC           01234567890123456789  + Dark            Hello!      ABC           01234567890123456789  + The Boys        ABC           01234567890123456789  + The Last of Us  ABC           01234567890123456789  + Lost in Space   ABC           01234567890123456789  + Altered Carbon  ABC           01234567890123456789  + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_row_auto_height.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_row_auto_height.svg new file mode 100644 index 0000000000..5f362bb6f1 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_row_auto_height.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AutoHeightRowsApp + + + + + + + + + +  N  Column      + 3  hey there   + 1  hey there   + 5  long        + string      + 2  ╭───────╮   + │ Hello │   + │ world │   + ╰───────╯   + 4  1           + 2           + 3           + 4           + 5           + 6           + 7           + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_row_auto_height_sorted.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_row_auto_height_sorted.svg new file mode 100644 index 0000000000..39b1d07c79 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_add_row_auto_height_sorted.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AutoHeightRowsApp + + + + + + + + + +  N  Column      + 1  hey there   + 2  ╭───────╮   + │ Hello │   + │ world │   + ╰───────╯   + 3  hey there   + 4  1           + 2           + 3           + 4           + 5           + 6           + 7           + 5  long        + string      + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_cell_padding.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_cell_padding.svg new file mode 100644 index 0000000000..162d68b81c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_cell_padding.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableApp + + + + + + + + + + +one  two  three +valuevalueval   + + one    two    three  + value  value  val    + +  one      two      three   +  value    value    val     + +   one        two        three    +   value      value      val      + +    one          two          three     +    value        value        val       + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_change_cell_padding.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_change_cell_padding.svg new file mode 100644 index 0000000000..3937953149 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_change_cell_padding.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableApp + + + + + + + + + + +one  two  three +valuevalueval   + + one    two    three  + value  value  val    + +  one      two      three   +  value    value    val     + +   one        two        three    +   value      value      val      + +          one                      two                      three           +          value                    value                    val             + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_column_cursor_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_column_cursor_render.svg new file mode 100644 index 0000000000..d302d7051a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_column_cursor_render.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableApp + + + + + + + + + +  lane  swimmer               country        time   + 4     Joseph Schooling      Singapore      50.39  + 2     Michael Phelps        United States  51.14  + 5     Chad le Clos          South Africa   51.14  + 6     László Cseh           Hungary        51.14  + 3     Li Zhuhao             China          51.26  + 8     Mehdy Metella         France         51.58  + 7     Tom Shields           United States  51.73  + 1     Aleksandr Sadovnikov  Russia         51.84  + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_hot_reloading.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_hot_reloading.svg new file mode 100644 index 0000000000..71f4ec796d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_hot_reloading.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DataTableHotReloadingApp + + + + + + + + + +  A           B     + one         two   + three       four  + five        six   + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_labels_and_fixed_data.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_labels_and_fixed_data.svg new file mode 100644 index 0000000000..24bc0957a7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_labels_and_fixed_data.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableApp + + + + + + + + + +  lane  swimmer               country        time   + 0  5     Chad le Clos          South Africa   51.14  + 1  4     Joseph Schooling      Singapore      50.39  + 2  2     Michael Phelps        United States  51.14  + 3  6     László Cseh           Hungary        51.14  + 4  3     Li Zhuhao             China          51.26  + 5  8     Mehdy Metella         France         51.58  + 6  7     Tom Shields           United States  51.73  + 7  10    Darren Burns          Scotland       51.84  + 8  1     Aleksandr Sadovnikov  Russia         51.84  + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_remove_row.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_remove_row.svg new file mode 100644 index 0000000000..66b2a25fda --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_remove_row.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableApp + + + + + + + + + +  lane  swimmer               country        time   + 5     Chad le Clos          South Africa   51.14  + 4     Joseph Schooling      Singapore      50.39  + 6     László Cseh           Hungary        51.14  + 3     Li Zhuhao             China          51.26  + 7     Tom Shields           United States  51.73  + 10    Darren Burns          Scotland       51.84  + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_render.svg new file mode 100644 index 0000000000..9b91b0d930 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_render.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableApp + + + + + + + + + +  lane  swimmer               country        time   + 4     Joseph Schooling      Singapore      50.39  + 2     Michael Phelps        United States  51.14  + 5     Chad le Clos          South Africa   51.14  + 6     László Cseh           Hungary        51.14  + 3     Li Zhuhao             China          51.26  + 8     Mehdy Metella         France         51.58  + 7     Tom Shields           United States  51.73  + 1     Aleksandr Sadovnikov  Russia         51.84  + 10    Darren Burns          Scotland       51.84  + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_row_cursor_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_row_cursor_render.svg new file mode 100644 index 0000000000..57ccf7bbf0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_row_cursor_render.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableApp + + + + + + + + + +  lane  swimmer               country        time   + 4     Joseph Schooling      Singapore      50.39  + 2     Michael Phelps        United States  51.14  + 5     Chad le Clos          South Africa   51.14  + 6     László Cseh           Hungary        51.14  + 3     Li Zhuhao             China          51.26  + 8     Mehdy Metella         France         51.58  + 7     Tom Shields           United States  51.73  + 1     Aleksandr Sadovnikov  Russia         51.84  + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_sort_multikey.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_sort_multikey.svg new file mode 100644 index 0000000000..4231a82a62 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_sort_multikey.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableApp + + + + + + + + + +  lane  swimmer               country        time   + 4     Joseph Schooling      Singapore      50.39  + 2     Michael Phelps        United States  51.14  + 5     Chad le Clos          South Africa   51.14  + 6     László Cseh           Hungary        51.14  + 3     Li Zhuhao             China          51.26  + 8     Mehdy Metella         France         51.58  + 7     Tom Shields           United States  51.73  + 1     Aleksandr Sadovnikov  Russia         51.84  + 10    Darren Burns          Scotland       51.84  + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_style_ordering.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_style_ordering.svg new file mode 100644 index 0000000000..e46b21e4c9 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_datatable_style_ordering.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DataTableCursorStyles + + + + + + + + + + Foreground is 'css', background is 'css':                                        + Movies      + Severance   +Foundation +Dark + +Foreground is 'css', background is 'renderable':                                 + Movies      +Severance +Foundation +Dark + +Foreground is 'renderable', background is 'renderable':                          + Movies      +Severance +Foundation +Dark + +Foreground is 'renderable', background is 'css':                                 + Movies      +Severance +Foundation +Dark + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_demo.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_demo.svg new file mode 100644 index 0000000000..7f7a1c4577 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_demo.svg @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Textual Demo + + + + + + + + + + Textual Demo + + +TOP + +▆▆ + +Widgets +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + +Rich contentTextual Demo + +Welcome! Textual is a framework for creating sophisticated +applications with the terminal.                            +CSS +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Start  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + + + + + + + ^b Sidebar  ^t Toggle Dark mode  ^s Screenshot  f1 Notes  ^q Quit  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_digits.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_digits.svg new file mode 100644 index 0000000000..91fd49898b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_digits.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DigitApp + + + + + + + + + + ╺━┓  ┓ ╻ ╻╺━┓╺━┓                                                                 + ━┫  ┃ ┗━┫┏━┛  ┃                                                                 +╺━┛.╺┻╸  ╹┗━╸  ╹                                                                 +                      ┏━┓ ┓ ╺━┓╺━┓╻ ╻┏━╸┏━╸╺━┓┏━┓┏━┓                             +                      ┃ ┃ ┃ ┏━┛ ━┫┗━┫┗━┓┣━┓  ┃┣━┫┗━┫╺╋╸╺━╸                       +                      ┗━┛╺┻╸┗━╸╺━┛  ╹╺━┛┗━┛  ╹┗━┛╺━┛      .,                     +                                                              ╺━┓    ┓ ┏━┓ ^ ╻ ╻ +                                                               ━┫ ×  ┃ ┃ ┃   ┗━┫ +                                                              ╺━┛   ╺┻╸┗━┛     ╹ + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_directory_tree_reloading.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_directory_tree_reloading.svg new file mode 100644 index 0000000000..d2002a41a3 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_directory_tree_reloading.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DirectoryTreeReloadApp + + + + + + + + + + 📂 test_directory_tree_reloading0 +├── 📂 b1 +│   ├── 📂 c1 +│   │   ┣━━ 📂 d1 +│   │   ┃   ┣━━ 📄 f1.txt +│   │   ┃   ┗━━ 📄 f2.txt +│   │   ┣━━ 📄 f1.txt +│   │   ┗━━ 📄 f2.txt +│   ├── 📄 f1.txt +│   └── 📄 f2.txt +├── 📄 f1.txt +└── 📄 f2.txt + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_disabled_widgets.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_disabled_widgets.svg new file mode 100644 index 0000000000..2b0142c8c3 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_disabled_widgets.svg @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WidgetDisableTestApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  Button  Button  Button  Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  Button  Button  Button  Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  Button  Button  Button  Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  Button  Button  Button  Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  Button  Button  Button  Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  Button  Button  Button  Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  Button  Button  Button  Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  Button  Button  Button  Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_layout_sidebar.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_layout_sidebar.svg new file mode 100644 index 0000000000..18f0f51040 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_layout_sidebar.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DockLayoutExample + + + + + + + + + + Sidebar1Docking a widget removes it from the layout and  +fixes its position, aligned to either the top,  +right, bottom, or left edges of a container. + +Docked widgets will not scroll out of view,  +making them ideal for sticky headers, footers,  +and sidebars. +▇▇ +Docking a widget removes it from the layout and  +fixes its position, aligned to either the top,  +right, bottom, or left edges of a container. + +Docked widgets will not scroll out of view,  +making them ideal for sticky headers, footers,  +and sidebars. + +Docking a widget removes it from the layout and  +fixes its position, aligned to either the top,  +right, bottom, or left edges of a container. + +Docked widgets will not scroll out of view,  +making them ideal for sticky headers, footers,  +and sidebars. + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll.svg new file mode 100644 index 0000000000..a9e2b55665 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TestApp + + + + + + + + + + TestApp +┌─────────┐ +this +is +a +sample +sentence +and +here +are +some +wordsthis +is +a +sample +sentence +and +here +are +some +words + ^q Quit  + + +▇▇ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll2.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll2.svg new file mode 100644 index 0000000000..f1da318f0e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll2.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TestApp + + + + + + + + + + TestApp +┌─────────┐ +this +is +a +sample +sentence +and +here +are +some +wordsthis +is +a▅▅ +sample +sentence +and +here +are +some +words + ^q Quit  + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll_off_by_one.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll_off_by_one.svg new file mode 100644 index 0000000000..29851bc756 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dock_scroll_off_by_one.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollOffByOne + + + + + + + + + + ▔▔▔▔▔▔▔▔ +X 92 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 93 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 94 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 95 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 96 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 97 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 98 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 99▁▁ +▁▁▁▁▁▁▁▁ + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_dynamic_bindings.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dynamic_bindings.svg new file mode 100644 index 0000000000..f758a9ddb4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_dynamic_bindings.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BindingsApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + a  c  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_calculator.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_calculator.svg new file mode 100644 index 0000000000..a747b1a4fb --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_calculator.svg @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CalculatorApp + + + + + + + + + + + +                                                                     ┏━┓ +                                                                     ┃ ┃ +                                                                     ┗━┛ + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + AC  +/-  %  ÷  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 7  8  9  ×  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 4  5  6  -  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  2  3  +  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▅▅ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_color_command.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_color_command.svg new file mode 100644 index 0000000000..46cf12347f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_color_command.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Press ctrl + \ and type a color + + + + + + + + + + Press ctrl + \ and type a color + + + + +ansi_red + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_dictionary.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_dictionary.svg new file mode 100644 index 0000000000..51abc39b86 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_dictionary.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DictionaryApp + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Search for a word +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + + + + + + + + + + + + + + + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_five_by_five.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_five_by_five.svg new file mode 100644 index 0000000000..dc94b9a913 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_five_by_five.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5x5 -- A little annoying puzzle + + + + + + + + + + 5x5 -- A little annoying puzzleMoves: 0Filled: 5 +╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ +││││││││ +││││││││ +╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ +╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ +││││ +││││ +╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ +╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ +││││ +││││ +││││ +╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ +╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ +││││ +││││ +╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ +╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮╭──────────────╮ +││││││││ +││││││││ +││││││││ +╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯╰──────────────╯ + n New Game  ? Help  q Quit  ^d Toggle Dark Mode  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_json_tree.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_json_tree.svg new file mode 100644 index 0000000000..3e998a5599 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_json_tree.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TreeApp + + + + + + + + + + TreeApp +▼ Root +└── ▼ {} JSON▁▁ +    ├── code='5060292302201' +    ├── ▼ {} product +    │   ┣━━ _id='5060292302201' +    │   ┣━━ ▶ [] _keywords +    │   ┣━━ ▶ [] added_countries_tags +    │   ┣━━ ▶ [] additives_debug_tags +    │   ┣━━ additives_n=2 +    │   ┣━━ additives_old_n=2 +    │   ┣━━ ▶ [] additives_old_tags +    │   ┣━━ ▶ [] additives_original_tags +    │   ┣━━ ▶ [] additives_prev_original_tags +    │   ┣━━ ▶ [] additives_tags +    │   ┣━━ additives_tags_n=None +    │   ┣━━ allergens='en:milk' +    │   ┣━━ ▶ [] allergens_debug_tags +    │   ┣━━ allergens_from_ingredients='en:milk, milk' +    │   ┣━━ allergens_from_user='(en) en:milk' +    │   ┣━━ ▶ [] allergens_hierarchy +    │   ┣━━ ▶ [] allergens_tags + + a Add node  c Clear  t Toggle root  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_markdown.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_markdown.svg new file mode 100644 index 0000000000..71590458dc --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_markdown.svg @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarkdownApp + + + + + + + + + + +▼ Ⅰ Textual Markdown Browser +└── Ⅱ Do You Want to Know More?Textual Markdown Browser + +  Welcome fellow adventurer! If you ran  +markdown.py from the terminal you are  +  viewing demo.md with Textual's built in      +  Markdown widget. + +  The widget supports much of the Markdown     +  spec. There is also an optional Table of     +  Contents sidebar which you will see to  +  your left. + + +Do You Want to Know More? + +  See example.md for more examples of what     +  this can do. + + + + + t TOC  b Back  f Forward  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_merlin.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_merlin.svg new file mode 100644 index 0000000000..d6a637bf6a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_merlin.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MerlinApp + + + + + + + + + + + +┏━┓   ┏━┓┏━┓   ┏━┓┏━┓ +┃ ┃ : ┃ ┃┃ ┃ : ┃ ┃┃ ┃ +┗━┛   ┗━┛┗━┛   ┗━┛┗━┛ + + +█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ + +    7         8         9      +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +    4         5         6      +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +    1         2         3      +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▇▇ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_pride.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_pride.svg new file mode 100644 index 0000000000..e74c86b7e0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_example_pride.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PrideApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_focus_component_class.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_focus_component_class.svg new file mode 100644 index 0000000000..4cb0bda893 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_focus_component_class.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + StyleBugApp + + + + + + + + + + StyleBugApp +test widget 0 +test widget 1 +test widget 2 +test widget 3 +test widget 4 +test widget 5 +test widget 6 +test widget 7 +test widget 8 +test widget 9 +test widget 10 +test widget 11 +test widget 12▇▇ +test widget 13 +test widget 14 +test widget 15 +test widget 16 +test widget 17 +test widget 18 +test widget 19 +test widget 20 +test widget 21 + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_classic_styling.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_classic_styling.svg new file mode 100644 index 0000000000..8aca569636 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_classic_styling.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ClassicFooterStylingApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CTRL+T  Toggle Dark mode  CTRL+Q  Quit                                          + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_compact.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_compact.svg new file mode 100644 index 0000000000..de8382d4e2 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_compact.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ToggleCompactFooterApp + + + + + + + + + + + + + + + + + + + + +                                 Compact Footer                                  + + + + + + + + + + + +^t Toggle Compact Footer^q Quit + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_compact_with_hover.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_compact_with_hover.svg new file mode 100644 index 0000000000..fb387a3bb8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_compact_with_hover.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ToggleCompactFooterApp + + + + + + + + + + + + + + + + + + + + +                                 Compact Footer                                  + + + + + + + + + + + +^t Toggle Compact Footer^q Quit + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_render.svg new file mode 100644 index 0000000000..961c14856a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_render.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FooterApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + q Quit the app  ? Show help screen  delete Delete the thing  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_standard_after_reactive_change.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_standard_after_reactive_change.svg new file mode 100644 index 0000000000..728155ab38 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_standard_after_reactive_change.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ToggleCompactFooterApp + + + + + + + + + + + + + + + + + + + + +                                Standard Footer                                  + + + + + + + + + + + + ^t Toggle Compact Footer  ^q Quit  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_standard_with_hover.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_standard_with_hover.svg new file mode 100644 index 0000000000..024a6e20ff --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_footer_standard_with_hover.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ToggleCompactFooterApp + + + + + + + + + + + + + + + + + + + + +                                Standard Footer                                  + + + + + + + + + + + + ^t Toggle Compact Footer  ^q Quit  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_margins.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_margins.svg new file mode 100644 index 0000000000..cafdde127e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_margins.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TestApp + + + + + + + + + + ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ + + +Hello + + + + + + +World + + + + + + +!! + + + + + + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_unit_with_min.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_unit_with_min.svg new file mode 100644 index 0000000000..03eb831f80 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_unit_with_min.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScreenSplitApp + + + + + + + + + + ScreenSplitApp +This is content This is content number 0 +number 0This is content number 1 +This is content ▄▄This is content number 2 +number 1This is content number 3 +This is content This is content number 4▁▁ +number 2This is content number 5 +This is content This is content number 6 +number 3This is content number 7 +This is content This is content number 8 +number 4This is content number 9 +This is content This is content number 10 +number 5This is content number 11 +This is content This is content number 12 +number 6This is content number 13 +This is content This is content number 14 +number 7This is content number 15 +This is content This is content number 16 +number 8This is content number 17 +This is content This is content number 18 +number 9This is content number 19 +This is content This is content number 20 +number 10This is content number 21 + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_units.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_units.svg new file mode 100644 index 0000000000..ca28a8a00f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_fr_units.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FRApp + + + + + + + + + + ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +HEADER + + + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +┏━━━━━━━━┓┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓┏━━━━━━┓ +foo┃┃bar┃┃baz +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┃┃┃┃ +┗━━━━━━━━┛┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛┗━━━━━━┛ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +FOOTER + +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_auto.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_auto.svg new file mode 100644 index 0000000000..aff19b696d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_auto.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KeylineApp + + + + + + + + + + ┌──┬──┬──┐ +abc +├──┼──┼──┤ +def +├──┼──┼──┤ +ghi +└──┴──┴──┘ + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_gutter.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_gutter.svg new file mode 100644 index 0000000000..69ada7b31e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_gutter.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Demonstrator + + + + + + + + + + + +┌──────────────────────────────────────────────────────────┐ + +Information +━╸━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎ +aaa naa aaaaa aaa aaaan, aaa aaa, aaaa?", aa aaa +aaaaanaaa anaaaaaaana aaaaaaaa aaaaaana aaa      +aaaaa aa aaa, aa aaaaaaaaa aaa aaaa, "aaaa, an   +aaaa aaa aaaa, a aa". "aaaa, naa aaaaaaaaaaa,    +aaa a aaaa aaaaaanaa aaaa aa a aaa!", aaa        +anaaaa, aaaaa aaaaaaaa aanaaaaa. "Na! aaa naa.   +aaaaa. aa aaaaa naa. aaaaa aa na aaa.", aaa      +aaaaaaaa aaaanaaaaa DONE.                        +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎ + + + + +└──────────────────────────────────────────────────────────┘ + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_basic.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_basic.svg new file mode 100644 index 0000000000..00f7b7ef98 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_basic.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GridLayoutExample + + + + + + + + + + ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ +One││Two││Three +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +└────────────────────────┘└─────────────────────────┘└─────────────────────────┘ +┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ +Four││Five││Six +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +└────────────────────────┘└─────────────────────────┘└─────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_basic_overflow.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_basic_overflow.svg new file mode 100644 index 0000000000..27392e7013 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_basic_overflow.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GridLayoutExample + + + + + + + + + + ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ +One││Two││Three +││││ +││││ +││││ +││││ +││││ +└────────────────────────┘└─────────────────────────┘└─────────────────────────┘ +┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ +Four││Five││Six +││││ +││││ +││││ +││││ +││││ +└────────────────────────┘└─────────────────────────┘└─────────────────────────┘ +┌────────────────────────┐ +Seven + + + + + +└────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_gutter.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_gutter.svg new file mode 100644 index 0000000000..4b6ee26609 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_grid_layout_gutter.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GridLayoutExample + + + + + + + + + + OneTwoThree + + + + + + + + + + + +FourFiveSix + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_hatch.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_hatch.svg new file mode 100644 index 0000000000..619ebeff55 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_hatch.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HatchApp + + + + + + + + + + ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╱╱╱╱╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳────────────────────────────────────────────────────────╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──┌─ Hello World ────────────────────────────────────┐──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──││││││││││││││││││││││││││││││││││││││││││││││││││──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──││││││││││││││││││││││││││││││││││││││││││││││││││──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──││││┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼││││──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──││││┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼Hatched┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼││││──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──││││┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼││││──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──││││┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼┼││││──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──││││││││││││││││││││││││││││││││││││││││││││││││││──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──││││││││││││││││││││││││││││││││││││││││││││││││││──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳──└──────────────────────────────────────────────────┘──╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳────────────────────────────────────────────────────────╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╳╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╱╱╱╱ +╱╱╱╱╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╲╱╱╱╱ +╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱ +╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_header_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_header_render.svg new file mode 100644 index 0000000000..52fe30862b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_header_render.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HeaderApp + + + + + + + + + + HeaderApp + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_horizontal_layout.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_horizontal_layout.svg new file mode 100644 index 0000000000..584248458a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_horizontal_layout.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HorizontalLayoutExample + + + + + + + + + + ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ +One││Two││Three +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +││││ +└────────────────────────┘└─────────────────────────┘└─────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_horizontal_layout_width_auto_dock.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_horizontal_layout_width_auto_dock.svg new file mode 100644 index 0000000000..ab23af018d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_horizontal_layout_width_auto_dock.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HorizontalAutoWidth + + + + + + + + + + Docke +Widget 1Widget 2 +left  +1Docked left 2 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_and_focus.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_and_focus.svg new file mode 100644 index 0000000000..05a1abe5d0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_and_focus.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + InputApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Darren                                                                     +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Burns +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_percentage_width.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_percentage_width.svg new file mode 100644 index 0000000000..300e433b20 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_percentage_width.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + InputVsTextArea + + + + + + + + + + 01234567890123456789012345678901234567890123456789012345678901234567890123456789 +┌──────────────────────────────────────┐ + + + +└──────────────────────────────────────┘ +┌──────────────────────────────────────┐ + + + + +└──────────────────────────────────────┘ +┌──────────────────────────────────────┐ + + + + +└──────────────────────────────────────┘ +┌──────────────────────────────────────┐ + + Button  + + +└──────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_suggestions.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_suggestions.svg new file mode 100644 index 0000000000..9830ab70fa --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_suggestions.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FruitsApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +strawberry +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +straw                                                                      +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +p                                                                          +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +b                                                                          +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +a                                                                          +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_validation.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_validation.svg new file mode 100644 index 0000000000..424567d50b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_input_validation.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + InputApp + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +-2                                                                     +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +3                                                                      +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +-2 +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Enter a number between 1 and 5 +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_key_display.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_key_display.svg new file mode 100644 index 0000000000..ac2445fade --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_key_display.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KeyDisplayApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ? Question  ^q Quit app  Escape! Escape  a Letter A  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_keyline.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_keyline.svg new file mode 100644 index 0000000000..20c2a6ac6a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_keyline.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KeylineApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +1 +├──────────────────────────────────────────────────────────────────────────────┤ +2 +├──────────────────────────────────────────────────────────────────────────────┤ +3 + +└──────────────────────────────────────────────────────────────────────────────┘ +┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +456 + + + + + +┗━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━┛ +╔══════════════════════════════════════╦═══════════════════════════════════════╗ +78 + +╠══════════════════════════════════════╬═══════════════════════════════════════╝ +9 + + +╚══════════════════════════════════════╝ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_label_widths.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_label_widths.svg new file mode 100644 index 0000000000..7c205911fa --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_label_widths.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LabelWrap + + + + + + + + + + + + + + + +Apple Banana Cherry Mango Fig Guava Pineapple:Dragon Unicorn Centaur Phoenix Ch + + +Apple Banana Cherry Mango Fig Guava Pineapple:Dragon Unicorn Centaur Phoenix  +Chimera Castle + + +╭────────────────────────────────────────────────────────────────────────────╮ +│ Apple Banana Cherry Mango Fig Guava Pineapple:Dragon Unicorn Centaur       │ +│ Phoenix Chimera Castle                                                     │ +╰────────────────────────────────────────────────────────────────────────────╯ + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_layer_fix.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_layer_fix.svg new file mode 100644 index 0000000000..088593488f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_layer_fix.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DialogIssueApp + + + + + + + + + + DialogIssueApp + + + + + +╭──────────────────────────────────────╮ + + + + +This should not cause a scrollbar to a + + + + + +╰──────────────────────────────────────╯ + + + + + + d Toggle the dialog  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_layers.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_layers.svg new file mode 100644 index 0000000000..b6154142c9 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_layers.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LayersExample + + + + + + + + + + + + + + + + + + + + +box1 (layer = above) + + + + + +box2 (layer = below) + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_layout_containers.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_layout_containers.svg new file mode 100644 index 0000000000..7b41f1fb10 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_layout_containers.svg @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Accept  Decline  Accept  Decline  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Accept  Accept  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Decline  Decline  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▆▆ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +0                                 0 + +1000000                                 1000000                                + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_line_api_scrollbars.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_line_api_scrollbars.svg new file mode 100644 index 0000000000..a9693a3535 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_line_api_scrollbars.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollViewApp + + + + + + + + + + + +                                 11 01234567 +                                 12 01234567 +                                 13 01234567 +                                 14 01234567 +                                 15 01234567▁▁ +                                 16 01234567 +                                 17 01234567 +                                 18 01234567 +                                 19 01234567 + +                                 11 01234567 +                                 12 01234567 +                                 13 01234567 +                                 14 01234567 +                                 15 01234567▁▁ +                                 16 01234567 +                                 17 01234567 +                                 18 01234567 +                                 19 01234567 + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_list_view.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_list_view.svg new file mode 100644 index 0000000000..4c40c28214 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_list_view.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ListViewExample + + + + + + + + + + + + + + + + + +One + + +Two + + +Three + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_listview_index.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_listview_index.svg new file mode 100644 index 0000000000..c23a152da1 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_listview_index.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ListViewIndexApp + + + + + + + + + + 10                                                                             +12                                                                             +14                                                                             +16                                                                            ▆▆ +18                                                                             +20                                                                             +22                                                                             +24                                                                             +26                                                                             +28                                                                             + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_loading_indicator.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_loading_indicator.svg new file mode 100644 index 0000000000..f48c7961b0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_loading_indicator.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoadingOverlayRedux + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +foo barfoo barfoo barfoo barfoo    +bar                                +foo barfoo barfoo barfoo barfoo   ▄▄ +bar                                +foo barfoo barfoo barfoo barfoo    +bar                                +foo barfoo barfoo barfoo barfoo    +bar                                +foo barfoo barfoo barfoo barfoo    +bar                                +Loading!foo barfoo barfoo barfoo barfoo    +bar                                +foo barfoo barfoo barfoo barfoo    +bar                                +foo barfoo barfoo barfoo barfoo    +bar                                +foo barfoo barfoo barfoo barfoo    +bar                                +foo barfoo barfoo barfoo barfoo    +bar                                +foo barfoo barfoo barfoo barfoo    +bar                                +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_loading_indicator_disables_widget.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_loading_indicator_disables_widget.svg new file mode 100644 index 0000000000..8b6630e7cf --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_loading_indicator_disables_widget.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoadingOverlayRedux + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     ▄▄foo barfoo barfoo barfoo barfoo   ▄▄ +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +hello world hello world hello     foo barfoo barfoo barfoo barfoo    +world hello world hello world     bar                                +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_log_write.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_log_write.svg new file mode 100644 index 0000000000..9b2ad63d6d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_log_write.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LogApp + + + + + + + + + + Hello, World!                                                                  +What's up?                                                                     +FOO                                                                            + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_log_write_lines.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_log_write_lines.svg new file mode 100644 index 0000000000..3ae6f4df21 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_log_write_lines.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LogApp + + + + + + + + + + I must not fear.  And when it has goHello, World      Fear is the mind-k +Fear is the mind-kWhere the fear hasFear is the little +Fear is the littleI must not fear.  I will face my fea +I will face my fea▁▁Fear is the mind-kI will permit it t +I will permit it tFear is the littleAnd when it has go +And when it has goI will face my feaWhere the fear has +Where the fear hasI will permit it t +I must not fear.  And when it has go +Fear is the mind-kWhere the fear has +Fear is the littleI must not fear.   +I will face my feaFear is the mind-k +I will permit it tFear is the little +And when it has goI will face my fea +Where the fear hasI will permit it t +I must not fear.  And when it has go +Fear is the mind-kWhere the fear has +Fear is the littleI must not fear.   +I will face my feaFear is the mind-k +I will permit it tFear is the little +And when it has goI will face my fea▇▇ +Where the fear hasI will permit it t +I must not fear.  And when it has go +Fear is the mind-kWhere the fear has + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_margin_multiple.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_margin_multiple.svg new file mode 100644 index 0000000000..6e733268c4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_margin_multiple.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ╔═══╗ +foo +╚═══╝ + + +┌────────────────────────────┐ + + +┌────────────────────────────┐ + +╔═══╗ +bar +╔═══╗╚═══╝ +bar +╚═══╝ + + + +└────────────────────────────┘└────────────────────────────┘ + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_component_classes_reloading.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_component_classes_reloading.svg new file mode 100644 index 0000000000..79ade0c652 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_component_classes_reloading.svg @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + + +This is a header + + +col1                                 col2                                 + ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  + value 1                               value 2                               + +  Here's some code: from itertools import productBold textEmphasized text +strikethrough + + +print("Hello, world!") + + +That was some code. + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_dark_theme_override.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_dark_theme_override.svg new file mode 100644 index 0000000000..6d97d24d2d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_dark_theme_override.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarkdownThemeSwitchertApp + + + + + + + + + + + +This is a H1 + + +defmain(): +│   print("Hello world!") + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_example.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_example.svg new file mode 100644 index 0000000000..8f7056a116 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_example.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarkdownExampleApp + + + + + + + + + + + +Markdown Document + +  This is an example of Textual's Markdown widget. + + +Features + +  Markdown syntax and extensions are supported. + +● Typography emphasisstronginline code etc. +● Headers +● Lists (bullet and ordered) +● Syntax highlighted code blocks +● Tables! + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_light_theme_override.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_light_theme_override.svg new file mode 100644 index 0000000000..cc0f9c9354 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_light_theme_override.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarkdownThemeSwitchertApp + + + + + + + + + + + +This is a H1 + + +defmain(): +│   print("Hello world!") + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_space_squashing.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_space_squashing.svg new file mode 100644 index 0000000000..252a429c7d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_space_squashing.svg @@ -0,0 +1,163 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarkdownSpaceApp + + + + + + + + + + X XX XX X X X X X + +X XX XX X X X X X + +X XX X X X X X + +X XX X X X X X + +┌─────────────────────────────────────────────────────────────────────────────── + + +# Two spaces:  see? +classFoo: +│   '''This is    a doc    string.''' +│   some_code(1,2,3,4) + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_theme_switching.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_theme_switching.svg new file mode 100644 index 0000000000..36308066f8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_theme_switching.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarkdownThemeSwitchertApp + + + + + + + + + + + +This is a H1 + + +defmain(): +│   print("Hello world!") + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_viewer_example.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_viewer_example.svg new file mode 100644 index 0000000000..ec3fb4e8fe --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_markdown_viewer_example.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MarkdownExampleApp + + + + + + + + + + +▼ Ⅰ Markdown Viewer +├── Ⅱ FeaturesMarkdown Viewer +├── Ⅱ Tables +└── Ⅱ Code Blocks  This is an example of Textual's MarkdownViewer +  widget. + + +Features + +  Markdown syntax and extensions are supported. +▇▇ +● Typography emphasisstronginline code etc. +● Headers +● Lists (bullet and ordered) +● Syntax highlighted code blocks +● Tables! + + +Tables + +  Tables are displayed in a DataTable widget. + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_max_height_100.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_max_height_100.svg new file mode 100644 index 0000000000..8efdfa0102 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_max_height_100.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HappyDataTableFunApp + + + + + + + + + +  Column 0  Column 1  Column 2  Column 3  Column 4  Column 5  Column 6  Column  + 0         0         0         0         0         0         0         0       + 0         1         2         3         4         5         6         7       + 0         2         4         6         8         10        12        14      + 0         3         6         9         12        15        18        21      + 0         4         8         12        16        20        24        28     ▆▆ + 0         5         10        15        20        25        30        35      + 0         6         12        18        24        30        36        42      + 0         7         14        21        28        35        42        49      + 0         8         16        24        32        40        48        56      + 0         9         18        27        36        45        54        63      + 0         10        20        30        40        50        60        70      + 0         11        22        33        44        55        66        77      + 0         12        24        36        48        60        72        84      + 0         13        26        39        52        65        78        91      + 0         14        28        42        56        70        84        98      + 0         15        30        45        60        75        90        105     + 0         16        32        48        64        80        96        112     + 0         17        34        51        68        85        102       119     + 0         18        36        54        72        90        108       126     + 0         19        38        57        76        95        114       133     + 0         20        40        60        80        100       120       140     + 0         21        42        63        84        105       126       147     + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_missing_vertical_scroll.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_missing_vertical_scroll.svg new file mode 100644 index 0000000000..e73f83aaa4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_missing_vertical_scroll.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MissingScrollbarApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +0                  0                  ▎▊0                        +1                  1                  ▎▊1                        +2                  ▄▄2                  ▄▄▎▊2                       ▄▄ +3                  3                  ▎▊3                        +4                  4                  ▎▊4                        +5                  5                  ▎▊5                        +6                  6                  ▎▊6                        +7                  7                  ▎▊7                        +8                  8                  ▎▊8                        +9                  9                  ▎▊9                        +10                 10                 ▎▊10                       +11                 11                 ▎▊11                       +12                 12                 ▎▊12                       +13                 13                 ▎▊13                       +14                 14                 ▎▊14                       +15                 15                 ▎▊15                       +16                 16                 ▎▊16                       +17                 17                 ▎▊17                       +18                 18                 ▎▊18                       +19                 19                 ▎▊19                       +20                 20                 ▎▊20                       +21                 21                 ▎▊21                       +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_modal_dialog_bindings.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_modal_dialog_bindings.svg new file mode 100644 index 0000000000..14b61de949 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_modal_dialog_bindings.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ModalApp + + + + + + + + + + ModalApp +Hello                                                                            + + + + + + + + + + + + + + + + + + + + + + ⏎ Open Dialog  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_modal_dialog_bindings_input.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_modal_dialog_bindings_input.svg new file mode 100644 index 0000000000..867e40e35f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_modal_dialog_bindings_input.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ModalApp + + + + + + + + + + DialogModalApp +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +hi!                                                                        +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + OK  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + ⏎ Open Dialog  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_mount_style_fix.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_mount_style_fix.svg new file mode 100644 index 0000000000..1d8701a102 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_mount_style_fix.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BrokenClassesApp + + + + + + + + + + + + + + + +┌──────────────────────────────────────┐ +This should have a red background + + + + + + + + + +└──────────────────────────────────────┘ + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_multi_keys.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_multi_keys.svg new file mode 100644 index 0000000000..857d464e18 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_multi_keys.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + o Options  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_multiple_css.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_multiple_css.svg new file mode 100644 index 0000000000..8d84a41058 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_multiple_css.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MultipleCSSApp + + + + + + + + + + #one +#two + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_auto_heights.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_auto_heights.svg new file mode 100644 index 0000000000..b5e08f63d2 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_auto_heights.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NestedAutoApp + + + + + + + + + + ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┏━━━━━━━━━━━━━━━┓ +┏━━━━━━━━━━━━━┓ +JUST ONE LINE +┗━━━━━━━━━━━━━┛ +┗━━━━━━━━━━━━━━━┛ +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_fr.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_fr.svg new file mode 100644 index 0000000000..e7bc5cb1ec --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_fr.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AutoApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +┌────────────────────────────────────────────────────────────────────────────┐ +Hello +World! +foo + + + + + + + + + + + + + + + + + +└────────────────────────────────────────────────────────────────────────────┘ +└──────────────────────────────────────────────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_specificity.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_specificity.svg new file mode 100644 index 0000000000..867dc213f4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_nested_specificity.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NestedPseudoClassesApp + + + + + + + + + + ╭──────────────────────────────────────╮ +This isn't using nested CSSThis is using nested CSS + + + + + + + + + + + + + + + + + + + + + +╰──────────────────────────────────────╯ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_notification_with_inline_link.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notification_with_inline_link.svg new file mode 100644 index 0000000000..12f6df32ad --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notification_with_inline_link.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NotifyWithInlineLinkApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Click here for the bell sound. + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_notification_with_inline_link_hover.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notification_with_inline_link_hover.svg new file mode 100644 index 0000000000..d0499cbd9c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notification_with_inline_link_hover.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NotifyWithInlineLinkApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Click here for the bell sound. + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_example.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_example.svg new file mode 100644 index 0000000000..f1eb44ceaa --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_example.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ToastApp + + + + + + + + + + + + + +It's an older code, sir, but it  +checks out. + + + +Possible trap detected +Now witness the firepower of this  +fully ARMED and OPERATIONAL battle  +station! + + + +It's a trap! + + + +It's against my programming to  +impersonate a deity. + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_loading_overlap_order.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_loading_overlap_order.svg new file mode 100644 index 0000000000..bb2c7a0deb --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_loading_overlap_order.svg @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoadingOverlayApp + + + + + + + + + + + + + + + + +This is a big notification. +This is a big notification. +This is a big notification. +This is a big notification. +This is a big notification. +This is a big notification. +This is a big notification. +This is a big notification. +This is a big notification. +This is a big notification. + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_through_modes.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_through_modes.svg new file mode 100644 index 0000000000..07a312da7a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_through_modes.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NotifyThroughModesApp + + + + + + + + + + This is a mode screen                   +4 + + + +5 + + + +6 + + + +7 + + + +8 + + + +9 + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_through_screens.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_through_screens.svg new file mode 100644 index 0000000000..5e9c172455 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_notifications_through_screens.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NotifyDownScreensApp + + + + + + + + + + Screen 10                               +4 + + + +5 + + + +6 + + + +7 + + + +8 + + + +9 + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_offsets.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_offsets.svg new file mode 100644 index 0000000000..6e54315a6e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_offsets.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OffsetsApp + + + + + + + + + + + + + + +┌──────────────┐ +FOO +BAR +BAZ +└──────────────┘ + + + + + +┌──────────────┐ +FOO +BAR +BAZ +└──────────────┘ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_build.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_build.svg new file mode 100644 index 0000000000..268f95964d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_build.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OptionListApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +One                   One                    ▎▊One                     +Two                   Two                    ▎▊Two                     +─────────────────────────────────────────────▎▊─────────────────────── +ThreeThree▎▊Three +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_options.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_options.svg new file mode 100644 index 0000000000..f102268923 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_options.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OptionListApp + + + + + + + + + + OptionListApp + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Aerilon                                            +Aquaria                                            +────────────────────────────────────────────────── +Canceron                                           +Caprica                                            +────────────────────────────────────────────────── +Gemenon                                            +────────────────────────────────────────────────── +Leonis                                             +Libran                                             +────────────────────────────────────────────────── +Picon                                             ▁▁ +────────────────────────────────────────────────── +Sagittaron                                         +Scorpia                                            +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_single_line_to_single_line.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_single_line_to_single_line.svg new file mode 100644 index 0000000000..b0beff6a8e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_single_line_to_single_line.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OptionListApp + + + + + + + + + + OptionListApp +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1. Another single line                                                       +2. Two                                                                       +lines                                                                        +3. Three                                                                     +lines                                                                        +of text                                                                      +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_single_line_to_two_lines.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_single_line_to_two_lines.svg new file mode 100644 index 0000000000..b5c62a7150 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_single_line_to_two_lines.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OptionListApp + + + + + + + + + + OptionListApp +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1. Two                                                                       +lines                                                                        +2. Two                                                                       +lines                                                                        +3. Three                                                                     +lines                                                                        +of text                                                                      +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_two_lines_to_three_lines.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_two_lines_to_three_lines.svg new file mode 100644 index 0000000000..071bf07a52 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_replace_prompt_from_two_lines_to_three_lines.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OptionListApp + + + + + + + + + + OptionListApp +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1. Single line                                                               +1. Three                                                                     +lines                                                                        +of text                                                                      +3. Three                                                                     +lines                                                                        +of text                                                                      +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_scrolling_in_long_list.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_scrolling_in_long_list.svg new file mode 100644 index 0000000000..99ab8b84f0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_scrolling_in_long_list.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LongOptionListApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +This is option #78                                                         +This is option #79                                                         +This is option #80                                                         +This is option #81                                                         +This is option #82                                                         +This is option #83                                                         +This is option #84                                                         +This is option #85                                                         +This is option #86                                                         +This is option #87                                                         +This is option #88                                                         +This is option #89                                                         +This is option #90                                                         +This is option #91                                                         +This is option #92                                                         +This is option #93                                                         +This is option #94                                                         +This is option #95                                                        ▇▇ +This is option #96                                                         +This is option #97                                                         +This is option #98                                                         +This is option #99                                                         +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_scrolling_with_multiline_options.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_scrolling_with_multiline_options.svg new file mode 100644 index 0000000000..6fe417ce7a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_scrolling_with_multiline_options.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OptionListApp + + + + + + + + + + OptionListApp + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩ +│ Dionysus      │ 450 Million   │ Celeste        │ +└───────────────┴───────────────┴────────────────┘ +                 Data for Tauron                   +┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ + Patron God     Population     Capital City    +┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩ +│ Ares          │ 2.5 Billion   │ Hypatia        │ +└───────────────┴───────────────┴────────────────┘ +                 Data for Virgon                   +┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ +┃ Patron God    ┃ Population    ┃ Capital City   ┃▁▁ +┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩ +│ Hestia        │ 4.3 Billion   │ Boskirk        │ +└───────────────┴───────────────┴────────────────┘ +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_strings.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_strings.svg new file mode 100644 index 0000000000..a3758abe96 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_strings.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OptionListApp + + + + + + + + + + OptionListApp + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Aerilon                                              +Aquaria                                              +Canceron                                             +Caprica                                              +Gemenon                                              +Leonis                                               +Libran                                               +Picon                                                +Sagittaron                                           +Scorpia                                              +Tauron                                               +Virgon                                               + + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_tables.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_tables.svg new file mode 100644 index 0000000000..dd979c807d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_option_list_tables.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OptionListApp + + + + + + + + + + OptionListApp + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +                 Data for Aerilon                  +┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ +┃ Patron God    ┃ Population    ┃ Capital City   ┃ +┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩▇▇ +│ Demeter       │ 1.2 Billion   │ Gaoth          │ +└───────────────┴───────────────┴────────────────┘ +                 Data for Aquaria                  +┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ + Patron God     Population     Capital City    +┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩ +│ Hermes        │ 75,000        │ None           │ +└───────────────┴───────────────┴────────────────┘ +                Data for Canceron                  +┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ + Patron God     Population     Capital City    +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_order_independence.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_order_independence.svg new file mode 100644 index 0000000000..19d403ac07 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_order_independence.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Layers + + + + + + + + + + ┌──────────────────────────────────┐Layers +It's full of stars! My God! It's full of sta + +This should float over the top + + +└──────────────────────────────────┘ + + + + + + + + + + + + + + + + + t Toggle Screen  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_order_independence_toggle.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_order_independence_toggle.svg new file mode 100644 index 0000000000..2c49b98956 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_order_independence_toggle.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Layers + + + + + + + + + + ┌──────────────────────────────────┐Layers +It's full of stars! My God! It's full of sta + +This should float over the top + + +└──────────────────────────────────┘ + + + + + + + + + + + + + + + + + t Toggle Screen  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_pilot_resize_terminal.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_pilot_resize_terminal.svg new file mode 100644 index 0000000000..d4de0257af --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_pilot_resize_terminal.svg @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SingleLabelApp + + + + + + + + + + 12345678901234567890 +12345678901234567890 +12345678901234567890 +12345678901234567890 +12345678901234567890 +12345678901234567890 +12345678901234567890 +12345678901234567890 +12345678901234567890 +12345678901234567890 + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_placeholder_disabled.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_placeholder_disabled.svg new file mode 100644 index 0000000000..5c7eaf387b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_placeholder_disabled.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DisabledPlaceholderApp + + + + + + + + + + + + + + +Placeholder + + + + + + + + + + + +Placeholder + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_placeholder_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_placeholder_render.svg new file mode 100644 index 0000000000..217b67393b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_placeholder_render.svg @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PlaceholderApp + + + + + + + + + + +Placeholder p2 here! +This is a custom label for p1. +#p4 +#p3#p5Placeholde +r + +Lorem ipsum dolor sit  +26 x 6amet, consectetur 27 x 6 +adipiscing elit. Etiam  +feugiat ac elit sit amet  + + +Lorem ipsum dolor sit amet,  +consectetur adipiscing elit. Etiam 40 x 6 +feugiat ac elit sit amet accumsan.  +Suspendisse bibendum nec libero quis  +gravida. Phasellus id eleifend ligula. +Nullam imperdiet sem tellus, sed  +vehicula nisl faucibus sit amet. Lorem ipsum dolor sit amet,  +Praesent iaculis tempor ultricies. Sedconsectetur adipiscing elit. Etiam  +lacinia, tellus id rutrum lacinia, feugiat ac elit sit amet accumsan.  +sapien sapien congue mauris, sit amet Suspendisse bibendum nec libero quis  + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_pretty_grid_gutter_interaction.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_pretty_grid_gutter_interaction.svg new file mode 100644 index 0000000000..7bb8976a31 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_pretty_grid_gutter_interaction.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ['This is a string that has some chars'] + +This should be 1 cell away from ^ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_print_capture.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_print_capture.svg new file mode 100644 index 0000000000..6eb34a464b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_print_capture.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CaptureApp + + + + + + + + + + RichLog                                                                        +This will be captured!                                                         + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_programmatic_disable_button.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_programmatic_disable_button.svg new file mode 100644 index 0000000000..a5f880f96c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_programmatic_disable_button.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ExampleApp + + + + + + + + + + + + + + + + + + +                        Hover the button then hit space                          +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Disabled  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + SPACE Toggle Button  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_programmatic_scrollbar_gutter_change.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_programmatic_scrollbar_gutter_change.svg new file mode 100644 index 0000000000..9ff3ee6d0d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_programmatic_scrollbar_gutter_change.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ProgrammaticScrollbarGutterChange + + + + + + + + + + onetwo + + + + + + + + + + + +threefour + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_completed.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_completed.svg new file mode 100644 index 0000000000..2957e976d6 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_completed.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IndeterminateProgressBar + + + + + + + + + + + + + + + + + + + + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━100%--:--:--                  + + + + + + + + + + + + s Start  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_completed_styled.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_completed_styled.svg new file mode 100644 index 0000000000..79776ad8bc --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_completed_styled.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + StyledProgressBar + + + + + + + + + + + + + + + + + + + + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━100%--:--:-- + + + + + + + + + + + + s Start  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_halfway.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_halfway.svg new file mode 100644 index 0000000000..0f34d4caa0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_halfway.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IndeterminateProgressBar + + + + + + + + + + + + + + + + + + + + +━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━39%00:00:07                  + + + + + + + + + + + + s Start  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_halfway_styled.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_halfway_styled.svg new file mode 100644 index 0000000000..997b56d518 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_halfway_styled.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + StyledProgressBar + + + + + + + + + + + + + + + + + + + + +━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━39%00:00:07 + + + + + + + + + + + + s Start  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_indeterminate.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_indeterminate.svg new file mode 100644 index 0000000000..4d4def25a8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_indeterminate.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IndeterminateProgressBar + + + + + + + + + + + + + + + + + + + + +━╸━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━--%--:--:--                  + + + + + + + + + + + + s Start  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_indeterminate_styled.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_indeterminate_styled.svg new file mode 100644 index 0000000000..1d2fc0c1c7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_bar_indeterminate_styled.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + StyledProgressBar + + + + + + + + + + + + + + + + + + + + +━╸━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━--%--:--:-- + + + + + + + + + + + + s Start  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_gradient.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_gradient.svg new file mode 100644 index 0000000000..9d53e59bf7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_progress_gradient.svg @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ProgressApp + + + + + + + + + + ╺━━━━━━━━━━━━━━━50%--:--:--                                   + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_quickly_change_tabs.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_quickly_change_tabs.svg new file mode 100644 index 0000000000..ee81072079 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_quickly_change_tabs.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + QuicklyChangeTabsApp + + + + + + + + + + +onetwothree +━━━━━━━━━━━━━╸━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +three                                                                        + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_radio_button_example.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_radio_button_example.svg new file mode 100644 index 0000000000..8fd257a2bb --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_radio_button_example.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RadioChoicesApp + + + + + + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Battlestar Galactica + Dune 1984 + Dune 2021 + Serenity + Star Trek: The Motion Picture + Star Wars: A New Hope + The Last Starfighter + Total Recall 👉 🔴 + Wing Commander +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_radio_set_example.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_radio_set_example.svg new file mode 100644 index 0000000000..4429f4ad44 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_radio_set_example.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RadioChoicesApp + + + + + + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Battlestar Galactica Amanda + Dune 1984 Connor MacLeod + Dune 2021 Duncan MacLeod + Serenity Heather MacLeod + Star Trek: The Motion Pictur Joe Dawson + Star Wars: A New Hope Kurgan, The + The Last Starfighter Methos + Total Recall 👉 🔴 Rachel Ellenstein + Wing Commander Ramírez +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_recompose.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_recompose.svg new file mode 100644 index 0000000000..3feef6016d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_recompose.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RecomposeApp + + + + + + + + + + ┌─────────┐┌─────────┐┌──────────┐┌─────────┐┌──────────┐┌─────────┐┌──────────┐ + ┓ ┏━┓   ││ ┓  ┓    ││ ┓ ╺━┓    ││ ┓ ╺━┓   ││ ┓ ╻ ╻    ││ ┓ ┏━╸   ││ ┓ ┏━╸     + ┃ ┃ ┃   ││ ┃  ┃    ││ ┃ ┏━┛    ││ ┃  ━┫   ││ ┃ ┗━┫    ││ ┃ ┗━┓   ││ ┃ ┣━┓     +╺┻╸┗━┛   ││╺┻╸╺┻╸   ││╺┻╸┗━╸    ││╺┻╸╺━┛   ││╺┻╸  ╹    ││╺┻╸╺━┛   ││╺┻╸┗━┛     +└─────────┘└─────────┘└──────────┘└─────────┘└──────────┘└─────────┘└──────────┘ + + + + + + + +━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━50%                                            + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_recompose_in_mount.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_recompose_in_mount.svg new file mode 100644 index 0000000000..690eff0e7d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_recompose_in_mount.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ForecastApp + + + + + + + + + + ForecastApp + Profile  +▔▔▔▔▔▔▔▔▔▔ +Foo + Bar +▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_remove_with_auto_height.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_remove_with_auto_height.svg new file mode 100644 index 0000000000..b185462e54 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_remove_with_auto_height.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VerticalRemoveApp + + + + + + + + + + VerticalRemoveApp +╭──────────────────────────────────────────────────────────────────────────────╮ +╭────────────────────╮ +│This is a test label│ +╰────────────────────╯ +╰──────────────────────────────────────────────────────────────────────────────╯ + + + + + + + + + + + + + + + + + + a Add  d Delete  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_max_lines.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_max_lines.svg new file mode 100644 index 0000000000..45946c7a20 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_max_lines.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RichLogLines + + + + + + + + + + Key press #3                                                                   +Key press #4                                                                   +Key press #5                                                                   + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_scroll.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_scroll.svg new file mode 100644 index 0000000000..4c8c7265e8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_scroll.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RichLogScrollApp + + + + + + + + + + Line 0                  Line 10                  Line 0                    +Line 1                  Line 11                  Line 1                    +Line 2                  Line 12                  Line 2                    +Line 3                  Line 13                  Line 3                    +Line 4                  Line 14                  Line 4                    +Line 5                  Line 15                  Line 5                    +Line 6                  Line 16                  Line 6                    +Line 7                  Line 17                  Line 7                    +Line 8                  Line 18                  Line 8                    +Line 9                  Line 19                  Line 9                    + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_width.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_width.svg new file mode 100644 index 0000000000..c64a707297 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_richlog_width.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RichLogWidth + + + + + + + + + +               hello1 +              world2 +              hello3 +              world4 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_rule_horizontal_rules.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_rule_horizontal_rules.svg new file mode 100644 index 0000000000..d7150a30be --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_rule_horizontal_rules.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HorizontalRulesApp + + + + + + + + + +                                 solid (default)                                  + +──────────────────────────────────────────────────────────────── + +                                     heavy                                       + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +                                     thick                                       + +████████████████████████████████████████████████████████████████ + +                                     dashed                                      + +╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ + +                                     double                                      + +════════════════════════════════════════════════════════════════ + +                                     ascii                                       + +---------------------------------------------------------------- + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_rule_vertical_rules.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_rule_vertical_rules.svg new file mode 100644 index 0000000000..b380c96693 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_rule_vertical_rules.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VerticalRulesApp + + + + + + + + + + + +       solid     heavy     thick     dashed    double    ascii   | +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_rules.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_rules.svg new file mode 100644 index 0000000000..dc6d001fec --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_rules.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RuleApp + + + + + + + + + + +-------------------------------------------------------------------------------- + + + +╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍ + +════════════════════════════════════════════════════════════════════════════════ + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + + +| +| +| +| +| +| +| +| +| +| +| +| + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_scoped_css.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scoped_css.svg new file mode 100644 index 0000000000..53e94b9473 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scoped_css.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +┌───┐ +foo +└───┘ +┌───┐ +bar +└───┘ +└──────────────────────────────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────────────────────────────┐ +┌───┐ +foo +└───┘ +┌───┐ +bar +└───┘ +└──────────────────────────────────────────────────────────────────────────────┘ +I should not be styled                                                           + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_screen_switch.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_screen_switch.svg new file mode 100644 index 0000000000..2e56abcfe4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_screen_switch.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ModalApp + + + + + + + + + + ModalApp +B + + + + + + + + + + + + + + + + + + + + + + a Push screen A  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_to.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_to.svg new file mode 100644 index 0000000000..fab552999e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_to.svg @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollOffByOne + + + + + + + + + + ▔▔▔▔▔▔▔▔ +X 43 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 44 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 45 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 46▄▄ +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▃▃ +X 47 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 48 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 49 +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +X 50 +▁▁▁▁▁▁▁▁ + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_to_center.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_to_center.svg new file mode 100644 index 0000000000..8774ce84c8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_to_center.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + SPAM                                                                           +╭────────────────────────────────────────────────────────────────────────────╮ +SPAM                                                                       +SPAM                                                                       +SPAM                                                                       +SPAM                                                                       +SPAM                                                                       +SPAM                                                                       +SPAM                                                                       +SPAM                                                                      ▁▁ +╭────────────────────────────────────────────────────────────────────────╮ +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@>>bullseye<<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + +▄▄ +▄▄ + + + + + + +╰────────────────────────────────────────────────────────────────────────────╯ +SPAM                                                                           +SPAM                                                                           + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_visible.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_visible.svg new file mode 100644 index 0000000000..aa74e006ab --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_visible.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + | +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +|▆▆ +| +| +| +| +SHOULD BE VISIBLE + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_visible_with_margin.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_visible_with_margin.svg new file mode 100644 index 0000000000..b5cae97465 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scroll_visible_with_margin.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollVisibleMargin + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Hello, world! (19)  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Hello, world! (20)  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Hello, world! (21)  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▅▅ + Hello, world! (22)  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Hello, world! (23)  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Hello, world! (24)  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Hello, world! (25)  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Hello, world! (26)  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_scrollbar_thumb_height.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scrollbar_thumb_height.svg new file mode 100644 index 0000000000..e8b4f257fc --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_scrollbar_thumb_height.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ScrollViewTester + + + + + + + + + + ScrollViewTester +╭─ 1 ──────────────────────────────────────────────────────────────────────────╮ +Welcome to line 980                                                          +Welcome to line 981                                                          +Welcome to line 982                                                          +Welcome to line 983                                                          +Welcome to line 984                                                          +Welcome to line 985                                                          +Welcome to line 986                                                          +Welcome to line 987                                                          +Welcome to line 988                                                          +Welcome to line 989                                                          +Welcome to line 990                                                          +Welcome to line 991                                                          +Welcome to line 992                                                          +Welcome to line 993                                                          +Welcome to line 994                                                          +Welcome to line 995                                                          +Welcome to line 996                                                          +Welcome to line 997                                                          +Welcome to line 998                                                          +Welcome to line 999                                                          +╰──────────────────────────────────────────────────────────────────────────────╯ + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_select.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select.svg new file mode 100644 index 0000000000..41d8d65cb1 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectApp + + + + + + + + + + SelectApp + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Select +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_expanded.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_expanded.svg new file mode 100644 index 0000000000..59ff86684e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_expanded.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectApp + + + + + + + + + + SelectApp + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Select +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Select + I must not fear.                                        + Fear is the mind-killer.                                + Fear is the little-death that brings total              + obliteration.                                           + I will face my fear.                                    + I will permit it to pass over me and through me.        +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_expanded_changed.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_expanded_changed.svg new file mode 100644 index 0000000000..c53af470a9 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_expanded_changed.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectApp + + + + + + + + + + I must not fear. + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +I must not fear. +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_from_values_expanded.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_from_values_expanded.svg new file mode 100644 index 0000000000..59ff86684e --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_from_values_expanded.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectApp + + + + + + + + + + SelectApp + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Select +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Select + I must not fear.                                        + Fear is the mind-killer.                                + Fear is the little-death that brings total              + obliteration.                                           + I will face my fear.                                    + I will permit it to pass over me and through me.        +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_no_blank_has_default_value.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_no_blank_has_default_value.svg new file mode 100644 index 0000000000..c53af470a9 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_no_blank_has_default_value.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectApp + + + + + + + + + + I must not fear. + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +I must not fear. +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_rebuild.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_rebuild.svg new file mode 100644 index 0000000000..c282635f15 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_rebuild.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectRebuildApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Select +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Select + This                                                                        + Should                                                                      + Be                                                                          + What                                                                        + Goes                                                                        + Into                                                                        + The                                                                         + Snapshit                                                                    +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_set_options.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_set_options.svg new file mode 100644 index 0000000000..00a21d8c2c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_select_set_options.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectApp + + + + + + + + + + Twinkle, twinkle, little star, + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +Twinkle, twinkle, little star, +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_selected.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_selected.svg new file mode 100644 index 0000000000..09cf6fc436 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_selected.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectionListApp + + + + + + + + + + SelectionListApp + + +┌─ Shall we play some games? ──┐┌─ Selected games ─────────────┐ +[ +X Falken's Maze           'secret_back_door', +X Black Jack              'a_nice_game_of_chess', +X Gin Rummy               'fighter_combat' +X Hearts                  ] +X Bridge                  └──────────────────────────────┘ +X Checkers                 +X Chess                    +X Poker                    +X Fighter Combat           + +└──────────────────────────────┘ + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_selections.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_selections.svg new file mode 100644 index 0000000000..bc45f727c7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_selections.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectionListApp + + + + + + + + + + SelectionListApp + + +┌─ Shall we play some games? ──────────────────────────────────┐ + +X Falken's Maze                                            +X Black Jack                                               +X Gin Rummy                                                +X Hearts                                                   +X Bridge                                                   +X Checkers                                                 +X Chess                                                    +X Poker                                                    +X Fighter Combat                                           + + + + + +└──────────────────────────────────────────────────────────────┘ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_tuples.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_tuples.svg new file mode 100644 index 0000000000..bc45f727c7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_selection_list_tuples.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SelectionListApp + + + + + + + + + + SelectionListApp + + +┌─ Shall we play some games? ──────────────────────────────────┐ + +X Falken's Maze                                            +X Black Jack                                               +X Gin Rummy                                                +X Hearts                                                   +X Bridge                                                   +X Checkers                                                 +X Chess                                                    +X Poker                                                    +X Fighter Combat                                           + + + + + +└──────────────────────────────────────────────────────────────┘ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_sort_children.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_sort_children.svg new file mode 100644 index 0000000000..29c3f1cc0b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_sort_children.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SortApp + + + + + + + + + + ┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ +5││1││5 +│└─────────────────────────┘│ +│┌─────────────────────────┐│ +││2││ +││││ +└────────────────────────┘└─────────────────────────┘└─────────────────────────┘ +┌────────────────────────┐┌─────────────────────────┐┌─────────────────────────┐ +1││3││4 +└────────────────────────┘│││ +┌────────────────────────┐│││ +3│└─────────────────────────┘│ +│┌─────────────────────────┐└─────────────────────────┘ +││4│┌─────────────────────────┐ +└────────────────────────┘│││3 +┌────────────────────────┐│││ +2││││ +│└─────────────────────────┘└─────────────────────────┘ +└────────────────────────┘┌─────────────────────────┐┌─────────────────────────┐ +┌────────────────────────┐│5││2 +4││││ +│││└─────────────────────────┘ +│││┌─────────────────────────┐ +││││1 +└────────────────────────┘└─────────────────────────┘└─────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_sparkline_component_classes_colors.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_sparkline_component_classes_colors.svg new file mode 100644 index 0000000000..3d0ea29ffa --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_sparkline_component_classes_colors.svg @@ -0,0 +1,701 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SparklineColorsApp + + + + + + + + + + +▇▇▇▇▇ + +▇▇▇▇▇ + +▇▇▇▇▇▇ + +▇▇▇▇▇▇ + +▇▇▇▇▇▇ + +▇▇▇▇▇▇ + +▇▇▇▇▇▇ + +▇▇▇▇▇▇▇█▇ + +▇▇▇▇▇▇ + +▇▇▇▇▇▇▇█▇ + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_sparkline_render.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_sparkline_render.svg new file mode 100644 index 0000000000..244d0b305b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_sparkline_render.svg @@ -0,0 +1,236 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SparklineSummaryFunctionApp + + + + + + + + + + + + + + +▂▂▁▁ + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_switches.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_switches.svg new file mode 100644 index 0000000000..e8f8b44199 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_switches.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SwitchApp + + + + + + + + + + + + + +Example switches + + +▔▔▔▔▔▔▔▔ +                              off:      +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +                              on:       +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +                              focused:  +▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔ +                              custom:   +▁▁▁▁▁▁▁▁ + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_tab_rename.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tab_rename.svg new file mode 100644 index 0000000000..94a9423397 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tab_rename.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TabRenameApp + + + + + + + + + + +This is a much longer label for the tab011222333344444 +━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +TabPane#test + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content.svg new file mode 100644 index 0000000000..599c6b7981 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TabbedApp + + + + + + + + + + +LetoJessicaPaul +━━━━━━━━╸━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + + + +Lady Jessica + +  Bene Gesserit and concubine of Leto, and mother of Paul and Alia. + + + +PaulAlia +━╸━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +First child                                                              + + + + + + + + l Leto  j Jessica  p Paul  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content_styling_not_leaking.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content_styling_not_leaking.svg new file mode 100644 index 0000000000..8c5993fa98 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content_styling_not_leaking.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TabbedContentStyleLeakTestApp + + + + + + + + + + +Leak Test +━╸━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +This label should come first                                                 +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + This button should come second  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + +TheseTabsShouldComeLast +━╸━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content_with_modified_tabs.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content_with_modified_tabs.svg new file mode 100644 index 0000000000..7decd76cab --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabbed_content_with_modified_tabs.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FiddleWithTabsApp + + + + + + + + + + +Tab 1Tab 2Tab 4Tab 5 +━╸━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Button  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_table_markup.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_table_markup.svg new file mode 100644 index 0000000000..13ec437aa2 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_table_markup.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TableStaticApp + + + + + + + + + + ┏━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━┓ +Foo Bar     baz        +┡━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━┩ +│ Hello World! │ Italic │ Underline │ +└──────────────┴────────┴───────────┘ + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabs_invalidate.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabs_invalidate.svg new file mode 100644 index 0000000000..e74e28a543 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tabs_invalidate.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TabApp + + + + + + + + + + +Tab 1Tab 2 +━━━━━━━━━╸━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +┌──────────────────────────────────────────────────────────────────────────────┐ + +world                                                                      + +└──────────────────────────────────────────────────────────────────────────────┘ + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_alternate_screen.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_alternate_screen.svg new file mode 100644 index 0000000000..466369e9a5 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_alternate_screen.svg @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TABug + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎ +foo                                          +bar                                          +baz                                          + + + + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[bash].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[bash].svg new file mode 100644 index 0000000000..486c5005e7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[bash].svg @@ -0,0 +1,475 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +  1  #!/bin/bash +  2   +  3  # Variables +  4  name="John" +  5  age=30                                                                  +  6  is_student=true                                                         +  7   +  8  # Printing variables +  9  echo"Hello, $name! You are $age years old." + 10   + 11  # Conditional statements + 12  if [[ $age -ge 18 &&$is_student == true ]]; then + 13  echo"You are an adult student." + 14  elif [[ $age -ge 18 ]]; then + 15  echo"You are an adult." + 16  else + 17  echo"You are a minor." + 18  fi + 19   + 20  # Arrays + 21  numbers=(1 2 3 4 5)                                                     + 22  echo"Numbers: ${numbers[@]}" + 23   + 24  # Loops + 25  for num in"${numbers[@]}"do + 26  echo"Number: $num" + 27  done + 28   + 29  # Functions + 30  greet() {                                                               + 31    local name=$1                                                         + 32  echo"Hello, $name!" + 33  }                                                                       + 34  greet"Alice" + 35   + 36  # Command substitution + 37  current_date=$(date +%Y-%m-%d)                                          + 38  echo"Current date: $current_date" + 39   + 40  # File operations + 41  touch file.txt                                                          + 42  echo"Some content"> file.txt                                          + 43  cat file.txt                                                            + 44   + 45  # Conditionals with file checks + 46  if [[ -f file.txt ]]; then + 47  echo"file.txt exists." + 48  else + 49  echo"file.txt does not exist." + 50  fi + 51   + 52  # Case statement + 53  case$age in + 54    18)                                                                   + 55  echo"You are 18 years old." + 56      ;;                                                                  + 57    30)                                                                   + 58  echo"You are 30 years old." + 59      ;;                                                                  + 60    *)                                                                    + 61  echo"You are neither 18 nor 30 years old." + 62      ;;                                                                  + 63  esac + 64   + 65  # While loop + 66  counter=0                                                               + 67  while [[ $counter -lt 5 ]]; do + 68  echo"Counter: $counter" + 69    ((counter++))                                                         + 70  done + 71   + 72  # Until loop + 73  until [[ $counter -eq 0 ]]; do + 74  echo"Counter: $counter" + 75    ((counter--))                                                         + 76  done + 77   + 78  # Heredoc + 79  cat << EOF + 80  This is a heredoc.  + 81  It allows you to write multiple lines of text.  + 82  EOF  + 83   + 84  # Redirection + 85  ls> file_list.txt                                                      + 86  grep"file" file_list.txt > filtered_list.txt                           + 87   + 88  # Pipes + 89  cat file_list.txt |wc -l                                               + 90   + 91  # Arithmetic operations + 92  result=$((10 + 5))                                                      + 93  echo"Result: $result" + 94   + 95  # Exporting variables + 96  export DB_PASSWORD="secret" + 97   + 98  # Sourcing external files + 99  source config.sh                                                        +100   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[css].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[css].svg new file mode 100644 index 0000000000..195da1ae02 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[css].svg @@ -0,0 +1,348 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  /* This is a comment in CSS */ + 2   + 3  /* Basic selectors and properties */ + 4  body {                                                                   + 5      font-family: Arial, sans-serif;                                      + 6      background-color: #f4f4f4;                                           + 7      margin: 0;                                                           + 8      padding: 0;                                                          + 9  }                                                                        +10   +11  /* Class and ID selectors */ +12  .header {                                                                +13      background-color: #333;                                              +14      color: #fff;                                                         +15      padding: 10px0;                                                     +16      text-align: center;                                                  +17  }                                                                        +18   +19  #logo {                                                                  +20      font-size: 24px;                                                     +21      font-weight: bold;                                                   +22  }                                                                        +23   +24  /* Descendant and child selectors */ +25  .nav ul {                                                                +26      list-style-type: none;                                               +27      padding: 0;                                                          +28  }                                                                        +29   +30  .nav > li {                                                              +31      display: inline-block;                                               +32      margin-right: 10px;                                                  +33  }                                                                        +34   +35  /* Pseudo-classes */ +36  a:hover {                                                                +37      text-decoration: underline;                                          +38  }                                                                        +39   +40  input:focus {                                                            +41      border-color: #007BFF;                                               +42  }                                                                        +43   +44  /* Media query */ +45  @media (max-width: 768px) {                                              +46      body {                                                               +47          font-size: 16px;                                                 +48      }                                                                    +49   +50      .header {                                                            +51          padding: 5px0;                                                  +52      }                                                                    +53  }                                                                        +54   +55  /* Keyframes animation */ +56  @keyframes slideIn {                                                     +57  from {                                                               +58          transform: translateX(-100%);                                    +59      }                                                                    +60  to {                                                                 +61          transform: translateX(0);                                        +62      }                                                                    +63  }                                                                        +64   +65  .slide-in-element {                                                      +66      animation: slideIn 0.5s forwards;                                    +67  }                                                                        +68   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[go].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[go].svg new file mode 100644 index 0000000000..c7828de87a --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[go].svg @@ -0,0 +1,352 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  package main                                                             + 2   + 3  import (                                                                 + 4  "fmt" + 5  "math" + 6  "strings" + 7  )                                                                        + 8   + 9  const PI =3.14159 +10   +11  type Shape interface {                                                   +12      Area() float64                                                       +13  }                                                                        +14   +15  type Circle struct {                                                     +16      Radius float64                                                       +17  }                                                                        +18   +19  func (c Circle) Area() float64 {                                         +20  return PI * c.Radius * c.Radius                                      +21  }                                                                        +22   +23  funcmain() {                                                            +24  var name string ="John" +25      age :=30 +26      isStudent :=true +27   +28      fmt.Printf("Hello, %s! You are %d years old.", name, age)            +29   +30  if age >=18&& isStudent {                                          +31          fmt.Println("You are an adult student.")                         +32      } elseif age >=18 {                                                +33          fmt.Println("You are an adult.")                                 +34      } else {                                                             +35          fmt.Println("You are a minor.")                                  +36      }                                                                    +37   +38      numbers := []int{12345}                                      +39      sum :=0 +40  for _, num :=range numbers {                                        +41          sum += num                                                       +42      }                                                                    +43      fmt.Printf("The sum is: %d", sum)                                    +44   +45      message :="Hello, World!" +46      uppercaseMessage := strings.ToUpper(message)                         +47      fmt.Println(uppercaseMessage)                                        +48   +49      circle := Circle{Radius: 5}                                          +50      fmt.Printf("Circle area: %.2f", circle.Area())                       +51   +52      result :=factorial(5)                                               +53      fmt.Printf("Factorial of 5: %d", result)                             +54   +55  defer fmt.Println("Program finished.")                               +56   +57      sqrt :=func(x float64) float64 {                                    +58  return math.Sqrt(x)                                              +59      }                                                                    +60      fmt.Printf("Square root of 16: %.2f"sqrt(16))                      +61  }                                                                        +62   +63  funcfactorial(n int) int {                                              +64  if n ==0 {                                                          +65  return1 +66      }                                                                    +67  return n *factorial(n-1)                                            +68  }                                                                        +69   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[html].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[html].svg new file mode 100644 index 0000000000..b9ca8fc500 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[html].svg @@ -0,0 +1,303 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  <!DOCTYPE html>                                                          + 2  <html lang="en">                                                         + 3   + 4  <head>                                                                   + 5  <!-- Meta tags --> + 6      <meta charset="UTF-8">                                               + 7      <meta name="viewport" content="width=device-width, initial-scale=1.0 + 8  <!-- Title --> + 9      <title>HTML Test Page</title>                                        +10  <!-- Link to CSS --> +11      <link rel="stylesheet" href="styles.css">                            +12  </head>                                                                  +13   +14  <body>                                                                   +15  <!-- Header section --> +16      <header class="header">                                              +17          <h1 id="logo">HTML Test Page</h1>                                +18      </header>                                                            +19   +20  <!-- Navigation --> +21      <nav class="nav">                                                    +22          <ul>                                                             +23              <li><a href="#">Home</a></li>                                +24              <li><a href="#">About</a></li>                               +25              <li><a href="#">Contact</a></li>                             +26          </ul>                                                            +27      </nav>                                                               +28   +29  <!-- Main content area --> +30      <main>                                                               +31          <article>                                                        +32              <h2>Welcome to the Test Page</h2>                            +33              <p>This is a paragraph to test the HTML structure.</p>       +34              <img src="test-image.jpg" alt="Test Image" width="300">      +35          </article>                                                       +36      </main>                                                              +37   +38  <!-- Form --> +39      <section>                                                            +40          <form action="/submit" method="post">                            +41              <label for="name">Name:</label>                              +42              <input type="text" id="name" name="name">                    +43              <input type="submit" value="Submit">                         +44          </form>                                                          +45      </section>                                                           +46   +47  <!-- Footer --> +48      <footer>                                                             +49          <p>&copy; 2023 HTML Test Page</p>                                +50      </footer>                                                            +51   +52  <!-- Script tag --> +53      <script src="scripts.js"></script>                                   +54  </body>                                                                  +55   +56  </html>                                                                  +57   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[java].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[java].svg new file mode 100644 index 0000000000..fa72e80287 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[java].svg @@ -0,0 +1,493 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +  1  import java.util.ArrayList;                                             +  2  import java.util.HashMap;                                               +  3  import java.util.List;                                                  +  4  import java.util.Map;                                                   +  5   +  6  // Classes and interfaces +  7  interface Shape {                                                       +  8      double getArea();                                                   +  9  }                                                                       + 10   + 11  class Rectangle implements Shape {                                      + 12  private double width;                                               + 13  private double height;                                              + 14   + 15  public Rectangle(double width, double height) {                     + 16          this.width = width;                                             + 17          this.height = height;                                           + 18      }                                                                   + 19   + 20  @Override                                                           + 21  public double getArea() {                                           + 22  return width * height;                                          + 23      }                                                                   + 24  }                                                                       + 25   + 26  // Enums + 27  enum DaysOfWeek {                                                       + 28      MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY      + 29  }                                                                       + 30   + 31  publicclass Main {                                                     + 32  // Constants + 33  privatestaticfinal double PI = 3.14159;                           + 34   + 35  // Methods + 36  publicstatic int sum(int a, int b) {                               + 37  return a + b;                                                   + 38      }                                                                   + 39   + 40  publicstatic void main(String[] args) {                            + 41  // Variables + 42          String name = "John";                                           + 43          int age = 30;                                                   + 44          boolean isStudent = true;                                       + 45   + 46  // Printing variables + 47          System.out.println("Hello, " + name + "! You are " + age + " ye + 48   + 49  // Conditional statements + 50  if (age >= 18 && isStudent) {                                   + 51              System.out.println("You are an adult student.");            + 52          } elseif (age >= 18) {                                         + 53              System.out.println("You are an adult.");                    + 54          } else {                                                        + 55              System.out.println("You are a minor.");                     + 56          }                                                               + 57   + 58  // Arrays + 59          int[] numbers = {12345};                                + 60          System.out.println("Numbers: " + Arrays.toString(numbers));     + 61   + 62  // Lists + 63          List<String> fruits = new ArrayList<>();                        + 64          fruits.add("apple");                                            + 65          fruits.add("banana");                                           + 66          fruits.add("orange");                                           + 67          System.out.println("Fruits: " + fruits);                        + 68   + 69  // Loops + 70  for (int num : numbers) {                                       + 71              System.out.println("Number: " + num);                       + 72          }                                                               + 73   + 74  // Hash maps + 75          Map<String, Integer> scores = new HashMap<>();                  + 76          scores.put("Alice"100);                                       + 77          scores.put("Bob"80);                                          + 78          System.out.println("Alice's score: " + scores.get("Alice"));    + 79   + 80  // Exception handling + 81  try {                                                           + 82              int result = 10 / 0;                                        + 83          } catch (ArithmeticException e) {                               + 84              System.out.println("Error: " + e.getMessage());             + 85          }                                                               + 86   + 87  // Instantiating objects + 88          Rectangle rect = new Rectangle(1020);                         + 89          System.out.println("Rectangle area: " + rect.getArea());        + 90   + 91  // Enums + 92          DaysOfWeek today = DaysOfWeek.MONDAY;                           + 93          System.out.println("Today is " + today);                        + 94   + 95  // Calling methods + 96          int sum = sum(510);                                           + 97          System.out.println("Sum: " + sum);                              + 98   + 99  // Ternary operator +100          String message = age >= 18 ? "You are an adult." : "You are a m +101          System.out.println(message);                                    +102      }                                                                   +103  }                                                                       +104   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[javascript].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[javascript].svg new file mode 100644 index 0000000000..b79ac8d079 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[javascript].svg @@ -0,0 +1,389 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  // Variable declarations + 2  const name ="John";                                                     + 3  let age =30;                                                            + 4  var isStudent =true;                                                    + 5   + 6  // Template literals + 7  console.log(`Hello, ${name}! You are ${age} years old.`);                + 8   + 9  // Conditional statements +10  if (age >=18&& isStudent) {                                            +11    console.log("You are an adult student.");                              +12  elseif (age >=18) {                                                  +13    console.log("You are an adult.");                                      +14  else {                                                                 +15    console.log("You are a minor.");                                       +16  }                                                                        +17   +18  // Arrays and array methods +19  const numbers = [12345];                                         +20  const doubledNumbers = numbers.map((num) => num *2);                    +21  console.log("Doubled numbers:", doubledNumbers);                         +22   +23  // Objects +24  const person = {                                                         +25    firstName: "John",                                                     +26    lastName: "Doe",                                                       +27    getFullName() {                                                        +28  return`${this.firstName} ${this.lastName}`;                         +29    },                                                                     +30  };                                                                       +31  console.log("Full name:", person.getFullName());                         +32   +33  // Classes +34  class Rectangle {                                                        +35    constructor(width, height) {                                           +36      this.width = width;                                                  +37      this.height = height;                                                +38    }                                                                      +39   +40    getArea() {                                                            +41  return this.width * this.height;                                     +42    }                                                                      +43  }                                                                        +44  const rectangle =new Rectangle(53);                                   +45  console.log("Rectangle area:", rectangle.getArea());                     +46   +47  // Async/Await and Promises +48  asyncfunctionfetchData() {                                             +49  try {                                                                  +50  const response =awaitfetch("https://api.example.com/data");        +51  const data =await response.json();                                  +52      console.log("Fetched data:", data);                                  +53    } catch (error) {                                                      +54      console.error("Error:", error);                                      +55    }                                                                      +56  }                                                                        +57  fetchData();                                                             +58   +59  // Arrow functions +60  constgreet= (name) => {                                                +61    console.log(`Hello, ${name}!`);                                        +62  };                                                                       +63  greet("Alice");                                                          +64   +65  // Destructuring assignment +66  const [a, b, ...rest] = [12345];                                 +67  console.log(a, b, rest);                                                 +68   +69  // Spread operator +70  const arr1 = [123];                                                  +71  const arr2 = [456];                                                  +72  const combinedArr = [...arr1, ...arr2];                                  +73  console.log("Combined array:", combinedArr);                             +74   +75  // Ternary operator +76  const message = age >=18 ? "You are an adult." : "You are a minor.";    +77  console.log(message);                                                    +78   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[json].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[json].svg new file mode 100644 index 0000000000..dc9a7405f3 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[json].svg @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  { + 2  "name""John Doe",                                                  + 3  "age"30,                                                           + 4  "isStudent"false,                                                  + 5  "address": {                                                         + 6  "street""123 Main St",                                         + 7  "city""Anytown",                                               + 8  "state""CA",                                                   + 9  "zip""12345" +10      },                                                                   +11  "phoneNumbers": [                                                    +12          {                                                                +13  "type""home",                                              +14  "number""555-555-1234" +15          },                                                               +16          {                                                                +17  "type""work",                                              +18  "number""555-555-5678" +19          }                                                                +20      ],                                                                   +21  "hobbies": ["reading""hiking""swimming"],                        +22  "pets": [                                                            +23          {                                                                +24  "type""dog",                                               +25  "name""Fido" +26          },                                                               +27      ],                                                                   +28  "graduationYear"null +29  } +30   +31   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[kotlin].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[kotlin].svg new file mode 100644 index 0000000000..7fbe0068c5 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[kotlin].svg @@ -0,0 +1,461 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  // Variables + 2  val name ="John" + 3  var age =30 + 4  var isStudent =true + 5   + 6  // Printing variables + 7  println("Hello, $name! You are $age years old.")                         + 8   + 9  // Conditional statements +10  when {                                                                   +11      age >=18&& isStudent ->println("You are an adult student.")       +12      age >=18->println("You are an adult.")                            +13  else->println("You are a minor.")                                  +14  }                                                                        +15   +16  // Arrays +17  val numbers =arrayOf(12345)                                     +18  println("Numbers: ${numbers.contentToString()}")                         +19   +20  // Lists +21  val fruits =listOf("apple""banana""orange")                         +22  println("Fruits: $fruits")                                               +23   +24  // Loops +25  for (num in numbers) {                                                   +26  println("Number: $num")                                              +27  }                                                                        +28   +29  // Functions +30  fungreet(name: String) {                                                +31  println("Hello, $name!")                                             +32  }                                                                        +33  greet("Alice")                                                           +34   +35  // Lambda functions +36  val square = { num: Int -> num * num }                                   +37  println("Square of 5: ${square(5)}")                                     +38   +39  // Extension functions +40  fun String.reverse(): String {                                           +41  return this.reversed() +42  }                                                                        +43  val reversed ="Hello".reverse()                                         +44  println("Reversed: $reversed")                                           +45   +46  // Data classes +47  dataclass Person(val name: String, val age: Int)                        +48  val person =Person("John"30)                                          +49  println("Person: $person")                                               +50   +51  // Null safety +52  var nullable: String? =null +53  println("Length: ${nullable?.length}")                                   +54   +55  // Elvis operator +56  val length = nullable?.length ?:0 +57  println("Length (Elvis): $length")                                       +58   +59  // Smart casts +60  funprintLength(obj: Any) {                                              +61  if (obj is String) {                                                 +62  println("Length: ${obj.length}")                                 +63      }                                                                    +64  }                                                                        +65  printLength("Hello")                                                     +66   +67  // Object expressions +68  val comparator =object : Comparator<Int> {                              +69  overridefun compare(a: Int, b: Int): Int {                          +70  return a - b +71      }                                                                    +72  }                                                                        +73  val sortedNumbers = numbers.sortedWith(comparator)                       +74  println("Sorted numbers: ${sortedNumbers.contentToString()}")            +75   +76  // Companion objects +77  class MyClass {                                                          +78      companion object {                                                   +79  funcreate(): MyClass {                                          +80  return MyClass() +81          }                                                                +82      }                                                                    +83  }                                                                        +84  val obj = MyClass.create()                                               +85   +86  // Sealed classes +87  sealedclass Result {                                                    +88  dataclass Success(val data: String) : Result()                      +89  dataclass Error(val message: String) : Result()                     +90  }                                                                        +91  val result: Result = Result.Success("Data")                              +92  when (result) {                                                          +93  is Result.Success ->println("Success: ${result.data}")              +94  is Result.Error ->println("Error: ${result.message}")               +95  }                                                                        +96   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[markdown].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[markdown].svg new file mode 100644 index 0000000000..4eb48c26b1 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[markdown].svg @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  Heading + 2  =======                                                                  + 3   + 4  Sub-heading + 5  -----------                                                              + 6   + 7  ### Heading + 8   + 9  #### H4 Heading +10   +11  ##### H5 Heading +12   +13  ###### H6 Heading +14   +15   +16  Paragraphs are separated                                                 +17  by a blank line.                                                         +18   +19  Two spaces at the end of a line                                          +20  produces a line break.                                                   +21   +22  Text attributes _italic_,                                                +23  **bold**`monospace`.                                                   +24   +25  Horizontal rule:                                                         +26   +27  ---                                                                      +28   +29  Bullet list:                                                             +30   +31  * apples                                                               +32  * oranges                                                              +33  * pears                                                                +34   +35  Numbered list:                                                           +36   +37  1. lather                                                              +38  2. rinse                                                               +39  3. repeat                                                              +40   +41  An [example](http://example.com).                                        +42   +43  > Markdown uses email-style > characters for blockquoting.               +44  >                                                                        +45  > Lorem ipsum                                                            +46   +47  ![progress](https://github.com/textualize/rich/raw/master/imgs/progress. +48   +49   +50  ```                                                                      +51  a=1                                                                      +52  ```                                                                      +53   +54  ```python                                                                +55  import this                                                              +56  ```                                                                      +57   +58  ```somelang                                                              +59  foobar                                                                   +60  ```                                                                      +61   +62      import this                                                          +63   +64   +65  1. List item                                                             +66   +67         Code block                                                        +68   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[python].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[python].svg new file mode 100644 index 0000000000..3a70b296d4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[python].svg @@ -0,0 +1,393 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  import math                                                              + 2  from os import path                                                      + 3   + 4  # I'm a comment :) + 5   + 6  string_var ="Hello, world!" + 7  int_var =42 + 8  float_var =3.14 + 9  complex_var =1+2j +10   +11  list_var = [12345]                                               +12  tuple_var = (12345)                                              +13  set_var = {12345}                                                +14  dict_var = {"a"1"b"2"c"3}                                      +15   +16  deffunction_no_args():                                                  +17  return"No arguments" +18   +19  deffunction_with_args(a, b):                                            +20  return a + b                                                         +21   +22  deffunction_with_default_args(a=0, b=0):                                +23  return a * b                                                         +24   +25  lambda_func =lambda x: x**2 +26   +27  if int_var ==42:                                                        +28  print("It's the answer!")                                            +29  elif int_var <42:                                                       +30  print("Less than the answer.")                                       +31  else:                                                                    +32  print("Greater than the answer.")                                    +33   +34  for index, value inenumerate(list_var):                                 +35  print(f"Index: {index}, Value: {value}")                             +36   +37  counter =0 +38  while counter <5:                                                       +39  print(f"Counter value: {counter}")                                   +40      counter +=1 +41   +42  squared_numbers = [x**2for x inrange(10if x %2==0]                +43   +44  try:                                                                     +45      result =10/0 +46  except ZeroDivisionError:                                                +47  print("Cannot divide by zero!")                                      +48  finally:                                                                 +49  print("End of try-except block.")                                    +50   +51  classAnimal:                                                            +52  def__init__(self, name):                                            +53          self.name = name                                                 +54   +55  defspeak(self):                                                     +56  raiseNotImplementedError("Subclasses must implement this method +57   +58  classDog(Animal):                                                       +59  defspeak(self):                                                     +60  returnf"{self.name} says Woof!" +61   +62  deffibonacci(n):                                                        +63      a, b =01 +64  for _ inrange(n):                                                   +65  yield a                                                          +66          a, b = b, a + b                                                  +67   +68  for num infibonacci(5):                                                 +69  print(num)                                                           +70   +71  withopen('test.txt''w'as f:                                         +72      f.write("Testing with statement.")                                   +73   +74  @my_decorator                                                            +75  defsay_hello():                                                         +76  print("Hello!")                                                      +77   +78  say_hello()                                                              +79   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[regex].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[regex].svg new file mode 100644 index 0000000000..afdec48787 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[regex].svg @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  ^abc            # Matches any string that starts with "abc" + 2  abc$            # Matches any string that ends with "abc" + 3  ^abc$           # Matches the string "abc" and nothing else + 4  a.b             # Matches any string containing "a", any character, then + 5  a[.]b           # Matches the string "a.b" + 6  a|b             # Matches either "a" or "b" + 7  a{2}            # Matches "aa" + 8  a{2,}           # Matches two or more consecutive "a" characters + 9  a{2,5}          # Matches between 2 and 5 consecutive "a" characters +10  a?              # Matches "a" or nothing (0 or 1 occurrence of "a")      +11  a*              # Matches zero or more consecutive "a" characters +12  a+              # Matches one or more consecutive "a" characters +13  \d              # Matches any digit (equivalent to [0-9])                +14  \D              # Matches any non-digit +15  \w              # Matches any word character (equivalent to [a-zA-Z0-9_] +16  \W              # Matches any non-word character +17  \s              # Matches any whitespace character (spaces, tabs, line b +18  \S              # Matches any non-whitespace character +19  (?i)abc         # Case-insensitive match for "abc" +20  (?:a|b)         # Non-capturing group for either "a" or "b" +21  (?<=a)b         # Positive lookbehind: matches "b" that is preceded by " +22  (?<!a)b         # Negative lookbehind: matches "b" that is not preceded  +23  a(?=b)          # Positive lookahead: matches "a" that is followed by "b +24  a(?!b)          # Negative lookahead: matches "a" that is not followed b +25   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[rust].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[rust].svg new file mode 100644 index 0000000000..a40effe9ec --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[rust].svg @@ -0,0 +1,497 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +  1  use std::collections::HashMap;                                          +  2   +  3  // Constants +  4  const PI: f64 = 3.14159;                                                +  5   +  6  // Structs +  7  struct Rectangle {                                                      +  8      width: u32,                                                         +  9      height: u32,                                                        + 10  }                                                                       + 11   + 12  impl Rectangle {                                                        + 13  fnarea(&self) -> u32 {                                             + 14          self.width * self.height                                        + 15      }                                                                   + 16  }                                                                       + 17   + 18  // Enums + 19  enum Result<T, E> {                                                     + 20      Ok(T),                                                              + 21      Err(E),                                                             + 22  }                                                                       + 23   + 24  // Functions + 25  fngreet(name: &str) {                                                  + 26      println!("Hello, {}!", name);                                       + 27  }                                                                       + 28   + 29  fnmain() {                                                             + 30  // Variables + 31  let name = "John";                                                  + 32  letmut age = 30;                                                   + 33  let is_student = true;                                              + 34   + 35  // Printing variables + 36      println!("Hello, {}! You are {} years old.", name, age);            + 37   + 38  // Conditional statements + 39  if age >= 18 && is_student {                                        + 40          println!("You are an adult student.");                          + 41      } elseif age >= 18 {                                               + 42          println!("You are an adult.");                                  + 43      } else {                                                            + 44          println!("You are a minor.");                                   + 45      }                                                                   + 46   + 47  // Arrays + 48  let numbers = [12345];                                      + 49      println!("Numbers: {:?}", numbers);                                 + 50   + 51  // Vectors + 52  letmut fruits = vec!["apple""banana""orange"];                 + 53      fruits.push("grape");                                               + 54      println!("Fruits: {:?}", fruits);                                   + 55   + 56  // Loops + 57  for num in&numbers {                                               + 58          println!("Number: {}", num);                                    + 59      }                                                                   + 60   + 61  // Pattern matching + 62  let result = Result::Ok(42);                                        + 63  match result {                                                      + 64          Result::Ok(value) => println!("Value: {}", value),              + 65          Result::Err(error) => println!("Error: {:?}", error),           + 66      }                                                                   + 67   + 68  // Ownership and borrowing + 69  let s1 = String::from("hello");                                     + 70  let s2 = s1.clone();                                                + 71      println!("s1: {}, s2: {}", s1, s2);                                 + 72   + 73  // References + 74  let rect = Rectangle {                                              + 75          width: 10,                                                      + 76          height: 20,                                                     + 77      };                                                                  + 78      println!("Rectangle area: {}", rect.area());                        + 79   + 80  // Hash maps + 81  letmut scores = HashMap::new();                                    + 82      scores.insert("Alice"100);                                        + 83      scores.insert("Bob"80);                                           + 84      println!("Alice's score: {}", scores["Alice"]);                     + 85   + 86  // Closures + 87  let square = |num: i32| num * num;                                  + 88      println!("Square of 5: {}", square(5));                             + 89   + 90  // Traits + 91  trait Printable {                                                   + 92  fnprint(&self);                                                + 93      }                                                                   + 94   + 95  impl Printable for Rectangle {                                      + 96  fnprint(&self) {                                               + 97              println!("Rectangle: width={}, height={}", self.width, self + 98          }                                                               + 99      }                                                                   +100      rect.print();                                                       +101   +102  // Modules +103  greet("Alice");                                                     +104  }                                                                       +105   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[sql].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[sql].svg new file mode 100644 index 0000000000..af4b2c76b1 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[sql].svg @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  -- This is a comment in SQL + 2   + 3  -- Create tables + 4  CREATETABLE Authors (                                                   + 5      AuthorID INT PRIMARY KEY,                                            + 6      Name VARCHAR(255NOT NULL,                                          + 7      Country VARCHAR(50)                                                  + 8  );                                                                       + 9   +10  CREATETABLE Books (                                                     +11      BookID INT PRIMARY KEY,                                              +12      Title VARCHAR(255NOT NULL,                                         +13      AuthorID INT,                                                        +14      PublishedDate DATE,                                                  +15      FOREIGN KEY (AuthorID) REFERENCES Authors(AuthorID)                  +16  );                                                                       +17   +18  -- Insert data +19  INSERTINTO Authors (AuthorID, Name, Country) VALUES (1'George Orwell' +20   +21  INSERTINTO Books (BookID, Title, AuthorID, PublishedDate) VALUES (1'1 +22   +23  -- Update data +24  UPDATE Authors SET Country ='United Kingdom'WHERE Country ='UK';      +25   +26  -- Select data with JOIN +27  SELECT Books.Title, Authors.Name                                         +28  FROM Books                                                               +29  JOIN Authors ON Books.AuthorID = Authors.AuthorID;                       +30   +31  -- Delete data (commented to preserve data for other examples) +32  -- DELETE FROM Books WHERE BookID = 1; +33   +34  -- Alter table structure +35  ALTER TABLE Authors ADD COLUMN BirthDate DATE;                           +36   +37  -- Create index +38  CREATEINDEX idx_author_name ON Authors(Name);                           +39   +40  -- Drop index (commented to avoid actually dropping it) +41  -- DROP INDEX idx_author_name ON Authors; +42   +43  -- End of script +44   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[toml].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[toml].svg new file mode 100644 index 0000000000..1a4fa81e86 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[toml].svg @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  # This is a comment in TOML + 2   + 3  string = "Hello, world!" + 4  integer = 42 + 5  float = 3.14 + 6  boolean = true + 7  datetime = 1979-05-27T07:32:00Z + 8   + 9  fruits = ["apple""banana""cherry"]                                   +10   +11  [address]                                                                +12  street = "123 Main St" +13  city = "Anytown" +14  state = "CA" +15  zip = "12345" +16   +17  [person.john]                                                            +18  name = "John Doe" +19  age = 28 +20  is_student = false +21   +22   +23  [[animals]]                                                              +24  name = "Fido" +25  type = "dog" +26   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[yaml].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[yaml].svg new file mode 100644 index 0000000000..ff41837ade --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[yaml].svg @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  # This is a comment in YAML + 2   + 3  # Scalars + 4  string"Hello, world!" + 5  integer42 + 6  float3.14 + 7  booleantrue + 8   + 9  # Sequences (Arrays) +10  fruits:                                                                  +11    - Apple +12    - Banana +13    - Cherry +14   +15  # Nested sequences +16  persons:                                                                 +17    - nameJohn +18  age28 +19  is_studentfalse +20    - nameJane +21  age22 +22  is_studenttrue +23   +24  # Mappings (Dictionaries) +25  address:                                                                 +26  street123 Main St +27  cityAnytown +28  stateCA +29  zip'12345' +30   +31  # Multiline string +32  description +33    This is a multiline  +34    string in YAML. +35   +36  # Inline and nested collections +37  colors: { redFF0000green00FF00blue0000FF }                     +38   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_line_number_start.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_line_number_start.svg new file mode 100644 index 0000000000..1ea4fb37ee --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_line_number_start.svg @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LineNumbersReactive + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎ + 9999  Foo                   +10000  Bar                   +10001  Baz                   +10002   + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_read_only_cursor_rendering.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_read_only_cursor_rendering.svg new file mode 100644 index 0000000000..1b4677967c --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_read_only_cursor_rendering.svg @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1  Hello, world!           + + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection0].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection0].svg new file mode 100644 index 0000000000..4c1aaabd19 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection0].svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +I am a line. + +I am another line.         + +I am the final line.       + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection1].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection1].svg new file mode 100644 index 0000000000..50245c56c6 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection1].svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +I am a line. + +I am another line.         + +I am the final line.       + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection2].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection2].svg new file mode 100644 index 0000000000..ae7782c460 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection2].svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +I am a line. + +I am another line. + +I am the final line.       + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection3].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection3].svg new file mode 100644 index 0000000000..b36ac1aca2 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection3].svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +I am a line. + +I am another line. + +I am the final line. + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection4].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection4].svg new file mode 100644 index 0000000000..6bc6248073 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection4].svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +I am a line.               + +I am another line.         + +I am the final line.       + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection5].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection5].svg new file mode 100644 index 0000000000..08f7539ca4 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_selection_rendering[selection5].svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +I am a line.               + +I am another line.         + +I am the final line.       + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[css].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[css].svg new file mode 100644 index 0000000000..0fb3ad8198 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[css].svg @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1  defhello(name): +2      x =123 +3  whilenotFalse:                      +4  print("hello "+ name)            +5  continue +6   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[dracula].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[dracula].svg new file mode 100644 index 0000000000..55a5898a8b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[dracula].svg @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1  defhello(name): +2      x =123 +3  whilenotFalse:                      +4  print("hello "+ name)            +5  continue +6   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[github_light].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[github_light].svg new file mode 100644 index 0000000000..66a83cb4cd --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[github_light].svg @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1  defhello(name): +2  x=123 +3  whilenotFalse:                      +4  print("hello "+name)            +5  continue +6   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[monokai].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[monokai].svg new file mode 100644 index 0000000000..844c47a35b --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[monokai].svg @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1  defhello(name): +2      x =123 +3  whilenotFalse:                      +4  print("hello "+ name)            +5  continue +6   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[vscode_dark].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[vscode_dark].svg new file mode 100644 index 0000000000..2c90c525d7 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_themes[vscode_dark].svg @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaSnapshot + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +1  defhello(name): +2      x =123 +3  whilenotFalse:                      +4  print("hello "+ name)            +5  continue +6   + +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_wrapping_and_folding.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_wrapping_and_folding.svg new file mode 100644 index 0000000000..ca2a56478f --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_wrapping_and_folding.svg @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TextAreaWrapping + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + 1  # The  +Wonders  +of Space  +Explorati +on + 2   + 3  Space      +explorati  +on has     +*always* +captured   +the        +human      +imaginati  +on.        + 4  ▃▃ + 5  ダレンバ   +ーンズ     + 6   + 7   +Thisissom  +elongtext  +thatshoul  +dfoldcorr  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_log_blank_write.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_log_blank_write.svg new file mode 100644 index 0000000000..dd7733a8b9 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_log_blank_write.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RichLogApp + + + + + + + + + + Hello                                                                          + +World                                                                          + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_border_preview.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_border_preview.svg new file mode 100644 index 0000000000..df740535f0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_border_preview.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BorderApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + ascii  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔+------------------- ascii --------------------+ + blank || +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁|| +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|I must not fear.| + dashed |Fear is the mind-killer.| +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁|Fear is the little-death that brings | +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|total obliteration.| + double |I will face my fear.| +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▅▅|I will permit it to pass over me and | +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|through me.| + heavy |And when it has gone past, I will turn| +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁|the inner eye to see its path.| +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|Where the fear has gone there will be | + hidden |nothing. Only I will remain.| +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁|| +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔|| + hkey +----------------------------------------------+ +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + inner  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_colors_preview.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_colors_preview.svg new file mode 100644 index 0000000000..0e5c5d70ff --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_colors_preview.svg @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ColorsApp + + + + + + + + + + +Theme ColorsNamed Colors +━╸━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + primary  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + secondary "primary" +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + background $primary-darken-3$t +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + primary-background $primary-darken-2$t +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + secondary-background $primary-darken-1$t +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + surface $primary$t +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + d Toggle dark mode  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_easing_preview.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_easing_preview.svg new file mode 100644 index 0000000000..baa9f49fbe --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_easing_preview.svg @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + EasingApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + round ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁Animation Duration:1.0                        +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + out_sine  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + out_quint  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁Welcome to Textual! +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + out_quart I must not fear. +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁Fear is the  +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔mind-killer. + out_quad Fear is the  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁little-death that  +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔brings total  + out_expo obliteration. +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁I will face my fear. +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔I will permit it to  + out_elastic pass over me and  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁through me. +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔And when it has gone  + out_cubic  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ^p Focus: Duration Input  ^b Toggle Dark  + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_keys_preview.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_keys_preview.svg new file mode 100644 index 0000000000..1a84f5f2aa --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_textual_dev_keys_preview.svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Textual Keys + + + + + + + + + + Textual Keys +╭────────────────────────────────────────────────────────────────────────────╮ +│ Press some keys!                                                           │ +│                                                                            │ +│ To quit the app press ctrl+ctwice or press the Quit button below.         │ +╰────────────────────────────────────────────────────────────────────────────╯ +Key(key='a'character='a'name='a'is_printable=True) +Key(key='b'character='b'name='b'is_printable=True) + + + + + + + + + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + Clear  Quit  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_toggle_style_order.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_toggle_style_order.svg new file mode 100644 index 0000000000..12ed1dc3e2 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_toggle_style_order.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CheckboxApp + + + + + + + + + + ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ +XThis is just some text. +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ +This is just some text. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_tooltips_in_compound_widgets.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tooltips_in_compound_widgets.svg new file mode 100644 index 0000000000..68b61bb22d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tooltips_in_compound_widgets.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TooltipApp + + + + + + + + + + ━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━10%                                            + +Hello, Tooltip! + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_tree_clearing_and_expansion.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tree_clearing_and_expansion.svg new file mode 100644 index 0000000000..8617454347 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tree_clearing_and_expansion.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TreeClearingSnapshotApp + + + + + + + + + + ▼ Left▶ Right + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_tree_example.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tree_example.svg new file mode 100644 index 0000000000..7f65a3cc86 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_tree_example.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TreeApp + + + + + + + + + + ▼ Dune +┗━━ ▼ Characters +    ┣━━ Paul +    ┣━━ Jessica +    ┗━━ Chani + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_unscoped_css.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_unscoped_css.svg new file mode 100644 index 0000000000..aadca76d82 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_unscoped_css.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MyApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +┌───┐ +foo +└───┘ +┌───┐ +bar +└───┘ +└──────────────────────────────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────────────────────────────┐ +┌───┐ +foo +└───┘ +┌───┐ +bar +└───┘ +└──────────────────────────────────────────────────────────────────────────────┘ +┌───────────────────┐ +This will be styled +└───────────────────┘ + + + + + + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_layout.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_layout.svg new file mode 100644 index 0000000000..0e694512ec --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_layout.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VerticalLayoutExample + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +One + + + + + +└──────────────────────────────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────────────────────────────┐ +Two + + + + + +└──────────────────────────────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────────────────────────────┐ +Three + + + + + +└──────────────────────────────────────────────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_max_height.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_max_height.svg new file mode 100644 index 0000000000..934298ce2d --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_max_height.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VerticalApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ + + + + + +#top + + + + + + +└──────────────────────────────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────────────────────────────┐ + + + +#bottom + + + + +└──────────────────────────────────────────────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_min_height.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_min_height.svg new file mode 100644 index 0000000000..addfd7db42 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_vertical_min_height.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VerticalApp + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ + + + +#top + + + + +└──────────────────────────────────────────────────────────────────────────────┘ +┌──────────────────────────────────────────────────────────────────────────────┐ + + + + + +#bottom + + + + + + +└──────────────────────────────────────────────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_viewport_height_and_width_properties.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_viewport_height_and_width_properties.svg new file mode 100644 index 0000000000..d18a0558e5 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_viewport_height_and_width_properties.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViewportUnits + + + + + + + + + + ┌──────────────────────────────────────────────────────────────────────────────┐ +Hello, world! + + + + + + + + + + + + + + + + + + + + + +└──────────────────────────────────────────────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_visibility.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_visibility.svg new file mode 100644 index 0000000000..a1408fdc34 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_visibility.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Visibility + + + + + + + + + + ┌──────────────────────────────────────┐ +bar +┌────────────────────────────────────┐┌────────────────────────────────────┐ +floatfloat +└────────────────────────────────────┘└────────────────────────────────────┘ + + + + + + + + + + + + + + + + + + +└──────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_welcome.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_welcome.svg new file mode 100644 index 0000000000..5d6faceeb0 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_welcome.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WelcomeApp + + + + + + + + + + + ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓  + ┃                                 Welcome!                                 ┃  + ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛  + + Textual is a TUI, or Text User Interface, framework for Python inspired by    + modern web development. We hope you enjoy using Textual! + + +Dune quote + +▌ "I must not fear. Fear is the mind-killer. Fear is the little-death that +▌ brings total obliteration. I will face my fear. I will permit it to pass +▌ over me and through me. And when it has gone past, I will turn the inner +▌ eye to see its path. Where the fear has gone there will be nothing. Only +▌ I will remain."                                                          + + + + + +▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ + OK  +▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_width_100.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_width_100.svg new file mode 100644 index 0000000000..93def793e8 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_width_100.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Width100PCentApp + + + + + + + + + + ┌───────────────────────────────────────────────────────────┐ +┌─────────────────────────────────────────────────────────┐ +I want to be 100% of my parent +└─────────────────────────────────────────────────────────┘ +┌─────────────────────────────────────────────────────────┐ +I want my parent to be wide enough to wrap me and no more +└─────────────────────────────────────────────────────────┘ + + + + + + + + + + + + + + + + +└───────────────────────────────────────────────────────────┘ + + + diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_zero_scrollbar_size.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_zero_scrollbar_size.svg new file mode 100644 index 0000000000..0583dab8b1 --- /dev/null +++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_zero_scrollbar_size.svg @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TestApp + + + + + + + + + + Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! +Hello, world! + + + diff --git a/tests/test_slug.py b/tests/test_slug.py index 0486966e83..3dc54cd50d 100644 --- a/tests/test_slug.py +++ b/tests/test_slug.py @@ -3,6 +3,7 @@ from textual._slug import TrackedSlugs, slug +@pytest.mark.xdist_group("group1") @pytest.mark.parametrize( "text, expected", [ @@ -36,6 +37,7 @@ def tracker() -> TrackedSlugs: return TrackedSlugs() +@pytest.mark.xdist_group("group2") @pytest.mark.parametrize( "text, expected", [