Skip to content

Tesserae 0.5.0

Choose a tag to compare

@mindderivative mindderivative released this 10 Oct 04:47

The YAML language redesign (#209), then the components and the windows work.
The language is specified in design/yaml-language.md; the phases land one at a time.

Changed

  • Bindings are a Python subset (phase 2). tesserae.expr is a sandboxed evaluator (an ast node whitelist, name resolution
    through a scope, limits on source size, depth, nodes, steps, ranges, sequences, exponents, integers and text) that replaces the port
    of tre's binding grammar. Python's arithmetic and comparison rules apply (1 == 1.0 is True, unary minus, None, if/else,
    comprehensions, f-strings, whitelisted functions and methods), and a Signal reads as its value (count and count.get() agree).
    Operators, truth tests, subscripts, formatting and built-ins touch only plain values, built-in containers, mappings, dates, decimals
    and enums, so an application's own object can be read by attribute but none of its methods run from a view. tesserae.binding
    keeps parse_binding, evaluate, evaluate_value, Handle and BindingError over it, and errors now carry the position and a hint.
    See Binding Expressions.

  • The node model (phase 3). tesserae.spec.widgets is the widget registry (Property with type, default, choices, required and model;
    @widget, declare, register_widget, decl_from_params for a view's params:, and a JSON schema per widget in
    schema/tesserae-widget-schema.json). tesserae.spec.nodes.parse_view reads a view in the 0.5.0 syntax (widget:, optional name:,
    properties, if, for, key, slot, state, style, classes, handlers, a11y, interaction, window_region, route, children):
    every key and property is checked, every expression compiled, every node given an id from its path, and an error names the file, line and
    column with a suggestion. tesserae.spec.translate turns 0.4.x YAML into it; 128 of the 131 files in the repository translate and load, and
    the other three are reported (a dynamic widget name, and a property a call binds that its fragment does not declare). Nothing builds from the
    new syntax yet: that is phases 4 and 5.

  • Composition (phase 4). tesserae.spec.compose.Composer turns parsed views into a live tree of Instances: a view call is replaced by the
    callee's root, its arguments are evaluated in the caller's scope and stay reactive inside the callee, Slot holds the call's children (built in
    the caller's scope, with errors for a view that takes none or a slot it lacks), for: expands a node per element and a reactive one is
    reconciled by key: (kept, added, removed, reordered), if: builds and disposes as its expression changes, and state: is a per-instance
    Signal that survives a recomposition for the same ids. Disposing a composition releases every subscription. Nothing builds tre nodes from it
    yet (phase 5).

  • ViewModel binding and a renderer (phase 5). A ViewModel lists the named views it serves in views; one instance serves every view with
    one of those names, wherever they are, so a pie chart and a list of the same rows follow one Signal. app.bind(DataViewModel) makes it once,
    when its first view opens; app.bind(instance) uses yours; app.bind(factory=DataViewModel) makes one per view instance; a view without a
    name: is not bound. app.open_view("Main") composes a view written in the new syntax and shows it with the existing builder, keeping it in
    step with its Signals (for: and if: add and remove real nodes, handlers run in the scope they were written in, a model property given a
    bare reference writes the user's edit back). ViewModel.views[name] is a handle (.node, .state, .show, .hide), self.show(new, old) swaps views, and app.check() / check_view compare every name, action and expects: entry of a view with its ViewModel
    without a window. ViewModel(view) still works.

  • Style rules (phase 6). A stylesheet may hold rules by widget, variant, size, shape, classes, name, part and state
    (tesserae.spec.rules). The most specific rule wins (a name, then the number of properties matched, then a state, then the widget alone),
    a later rule wins a tie, an app's stylesheet beats the looks a widget ships, and a node's inline style: beats every rule for the fields it
    sets. hovered, focused and pressed are Signals a rule can select on and an expression can read; disabled, selected, checked and
    expanded read the widget's own property. foreground is no longer valid on every widget: the widgets that draw text or glyphs declare it, and
    the error names them. self.show(new, old) swaps one of a ViewModel's views for another.

  • Migration (phase 7). tesserae migrate-yaml [PATH] [--write] [--force] (tesserae.migrate) moves a project to the new syntax: views and
    fragments are translated (a fragment becomes a *_View.yaml), stylesheets become rules (a component's by part, an app's by widget and
    name), a view with a *_ViewModel.py is named after it, header comments are kept, every result is checked with the app's loader and nothing
    is written unless all of it loads (--force writes what did). Python is not rewritten: the report lists what each ViewModel needs. A view in
    the old syntax still loads and says once per file how to move on. New: the guide The View Language, whose YAML
    examples are tested, and the migration table in Migrating.

  • The text field component (#184, the first of the components). widget: TextField is
    the Material text field, a view Tesserae ships with its look as rules: filled and outlined, a label that rises with focus or text, placeholder,
    leading and trailing icons, prefix and suffix, supporting text, a character counter, an error state with its message, disabled, read-only,
    multiline, and a password field with a button that shows the text. text is two-way; on_change, on_key and on_submit are events. The bare
    input is the new widget TextInput (placeholder, multiline, obscured, max_length, read_only); the old builder's kind: TextField takes
    placeholder, multiline and obscured in its text: as well, and tesserae migrate-yaml writes the old kind as widget: TextInput.
    New with it: shipped views (tesserae/views/, found after the project's, replaceable by a view of the same name), focused, focus_visible,
    error and read_only as states a rule can select, a widget's state read by its parts' rules, and the icons visibility, visibility_off and
    error.

  • More accessibility states (#210). a11y: takes expanded, selected, checked, value,
    value_min, value_max and value_step, in both syntaxes and in tesserae.a11y; every field but role and live can be bound, and null
    clears a state tre holds unset. A control still sets its own checked, selected and value.

  • Text extras (#211). max_lines, letter_spacing (and selectable on Text) are properties of
    Text and Link in the new syntax and keys of text: in the old; max_lines cuts a long text to that many lines, letter_spacing is tracking in pixels, and
    a Text with a fixed width and no height is as tall as the lines it wraps to.

  • Alpha on colours, and the full shape (#212). A colour may end in @N% to scale its alpha: primary@12%,
    on_surface@38%, "#6750A4@50%", wherever a style, a rule, a bound background/foreground/border_color or a color property takes one.
    corner_radius: full is a pill or a circle.

  • Focus control and keyboard navigation (#213). focus('name') in a handler gives the focus to a named node in the view; on_press
    is a handler for the pointer pressing a node (it does not make the node a button), so a container can focus the input inside it; focus_group: horizontal | vertical | both
    gives the focusable nodes under a node one tab stop, arrow-key, Home/End and type-ahead movement. The text field's box focuses its input when pressed.

  • Transitions (#214). style: {transition: {background: 150, scale: {duration: 300, easing: spring}}} makes a change to those
    properties ease instead of jump (opacity, colours, border, corner radius, elevation, blur and the new scale, translate_x, translate_y, rotation_deg), with Material's easings, cubic
    beziers or a spring; the first draw does not ease, an app that reduces motion gets the value at once, and a stylesheet rule can carry the transition.

  • Canvas (#215). widget: Canvas with draw:, a list of {rect: [x, y, w, h]}, {circle: [cx, cy, r]} and
    {path: [points], width: N} commands, each with a color (a role, a CSS colour or role@N%). draw: may be one {{ }} expression, so a canvas
    repaints when the Signals it reads change. It is how a widget draws wavy progress, ticks and graph edges.

  • Icons from a path (#216). widget: Icon takes path: (SVG path data) and view_box: instead of a name, so any
    glyph can be drawn and tinted like the built-in ones. tools/import_material_symbols.py DIR turns a folder of Material Symbols SVGs into
    src/tesserae/icon_data/material_symbols.json, which tesserae.icons merges under the icons built in. The 18 built-in names are unchanged; no Symbols are bundled yet (see the issue).

  • Material Design Icons (#216). 147 icons from Pictogrammers' MDI (Apache-2.0) are in the icon set beside the built-in ones (names in snake_case: account_check,
    format_bold; a built-in name keeps its own drawing), each drawn in its own 24 x 24 box. tools/import_mdi.py mdi.json [--names ...|--all] adds more from the Iconify mdi JSON.

  • Timers (#217). Handlers can call after(ms, action[, name]), every(ms, action[, name]) and cancel(name); action is an
    action name or statements run in the handler's scope, and a name restarts a timer of that name (a debounce). tesserae.timers.Timers(window) is the same for Python.
    They run on the frame loop until tre has timers (#235) and stop with the view.

  • Scroll state (#218). ScrollView.scroll_offset is drawn (a literal or a Signal; a bound Signal follows the user's scrolling, and
    setting it scrolls), and at_top, at_end and scroll_direction write the position to the Signals or state names they are bound to, for collapse-on-scroll and hide-on-scroll.

  • Pointer capture, cursor and drag events (#219). New events on_move and on_release, and handler actions capture(),
    release() and cursor(name) that act on the widget whose handler is running, so a drag keeps following the pointer outside the node.

  • Per-corner corner_radius (#220). style.corner_radius takes a list of four (top_left, top_right, bottom_right,
    bottom_left) or a mapping of corners and edges ({top: 12}, {left: full, top_right: 4}), with tokens or pixels; one value is unchanged.

  • Windows, title bars and docks in composed views (#221). A widget: Window root opened with app.open_view sets the OS
    window (it becomes the app's window view, as kind: Window is for app.load), and the bindings a TitleBar expands to (inactive dimming, the maximize/restore glyph, the OS's inset and
    buttons) are wired without a ViewModel. Docks already worked and are now covered by tests.

  • Input masks (#222). mask: "(###) ###-####" on a TextInput or TextField formats what is typed or pasted (# digit, A letter,
    * either, \\ a literal); tesserae.spec.mask.Mask is the same for Python.

  • Clipboard actions (#223). Handlers can call copy(text) (true if it reached the OS clipboard) and paste() (the text on it, or '').

  • open_url (#224). Handlers can call open_url(url) to open a link in the OS's browser or mail program; only http, https,
    mailto and tel links are opened. tesserae.urls.open_url is the same for Python.

  • Divider (#152). widget: Divider with variant: full | inset | middle, orientation: horizontal | vertical and thickness,
    a shipped view with a shipped look (a line in outline_variant, hidden from a screen reader). The 0.4.x component: Divider fragment still works.

  • Image (#196). widget: Image takes alt (a screen reader's description; without it the picture is decorative and hidden from one,
    unless it handles clicks) and checks fit; its shape is style.corner_radius, per corner too, which the engine clips the picture to. A src that follows a Signal now changes the picture
    shown (a changed picture was missed by the reconcile).

  • Svg (#197). widget: Svg takes alt as Image does, and needs one of src and content (a load error otherwise); currentColor is the
    foreground, so a monochrome icon follows the theme.

  • Elevation that moves (#226). No new language: elevation in hovered and pressed rules with transition: {elevation: ms} eases the
    shadows (also from a level a view computes, for a drag). Documented in Gradients & Effects and tested.

  • Overlay (#227). widget: Overlay with open (two-way), anchor, placement, modal and dismissible shows its children in a
    layer over the window: anchored with flipping, or a modal scrim; Escape or a press outside closes it and writes open back; focus returns.

  • VirtualList (#228). widget: VirtualList with item_height and overscan and a single for: child builds only the rows in view and
    builds more as it scrolls (a list of 10 000 opens with about a dozen rows). It has a ScrollView's scroll_offset, at_top, at_end and scroll_direction.

  • Window size classes (#230). app.window_width, app.window_height, app.width_class (compact to extra_large) and app.height_class follow the
    window's size and can be read in any expression. app itself is now readable in views whose ViewModel is the new kind (it had only worked for a 0.4.x ViewModel).

  • Screen transitions (#231). app.transition (or App(transition=...)) is none, fade_through, shared_axis_x, shared_axis_y,
    shared_axis_z or container_transform, played by navigate, back and forward (reversed going back); app.navigate_with(name, transition=..., origin=node) picks one for a single navigation.

  • Text (#195). widget: Text takes heading: 1 to 6 (a heading of that level for a screen reader). Type roles have a tracking
    field: tokens.MD3_TRACKING is Material 3's per role, off unless a theme's typography: sets it (tokens.MD3_TRACKING_TYPOGRAPHY for all). Every role's size and line height is tested against the MD3 scale.

  • Splitter (#203). widget: Splitter with two child panes, orientation, a two-way position, min_first, min_second and collapsible: a handle you drag
    (the pointer is captured), move with the arrow keys, Home and End, a screen reader can set, and double click to collapse.

  • Image masks (#236). A picture's rounded, circular and pill shapes are style.corner_radius (also from a rule); no new code was needed, and they are tested.

  • The accessibility vocabulary (#237). a11y: takes pressed, invalid, description, describedby, controls, current, value_now, value_text
    and busy, checked and bindable; the engine has no property for them yet (requested: tre#160), so they are sent one at a time as far as it takes them, with one warning naming each it lacks.

  • tooltip: on every node (#238). Text, or {text, title, delay} for a rich one: shown after a hover delay (500 ms) or at once on keyboard
    focus, gone on leave, press, blur or Escape; the text is the node's accessibility description where it has none.

  • transition: for layout (#239). width, height, x, y, gap, padding and margin ease like the rest. tre cannot animate them yet
    (requested: tre#161), so they are set frame by frame along the curve; when tre can, its own animation is used without a change.

  • Badge (#141, #142). widget: Badge: a dot, or a pill with a value capped at limit (999+), show, and anchored: true to
    sit over the top right corner of its host (the children). One view replaces BadgeDot and BadgeLabeled, which still work.

  • Link (#174). widget: Link is primary text in body_medium by default with href (opened by open_url, so only web and mail links), a two-way
    visited (and state: visited in rules), disabled, and underline (hover by default: under the pointer or the keyboard focus, always, never).

  • Progress indicators (#143, #144, #145). LinearProgress and CircularProgress with no value (or an expression
    that gives nothing) are a wait with no end (the builder had always made them a bar at 0); new track, linear buffer and stop_indicator, and label; a screen reader hears busy, or the value as a percentage.

  • Checkbox, RadioButton, Switch (#175, #176, #177). label (beside the control, part of what you
    press), error (checkbox and radio), a Checkbox that is neither on nor off (checked: null), Switch icons, and the colour is style.foreground. A patch no longer reset a control's own
    accessibility states (checked, value) to nothing.

  • Slider (#178). min, max and step (the builder ignored them), ticks, value_indicator, label, and on_input for every step of a drag;
    a bound value now follows the drag instead of waiting for its end. A bound value is written before the node's handlers run, so a handler reads what the user just did.

  • SegmentedButton (#193). widget: SegmentedButton with options, a two-way selected and multiple, written in the view language (the first shipped
    component that is built from the language's own parts: per-corner pill, focus_group, icons, handlers that set a Signal). An a11y: role may be worked out from a param (never from a Signal), and a roving focus group starts on its checked item.

  • Tabs (#166, #167). widget: Tabs with tabs, a two-way selected, variant (primary, secondary) and tab_width: a shipped view with icons, badges,
    an indicator that slides, and arrows/Home/End that move and choose. A bar that scrolls waits for the engine to scroll sideways.

  • Several windows (#105). app.open_window(view, modal=, parent=) opens a view in a window of its own (tre 0.5.6 opens windows while the app runs), with app.windows, app.window_of, app.close_window, and the handler open_window(view[, modal]). Window handlers act on their own window; a modal window dims and blocks its parent; closing the main window closes them all.

  • Animated gradient focus borders (step 81). App(focus_ring="gradient") turns the keyboard focus ring into a sweep gradient through the theme's secondary, primary and tertiary, one turn in three seconds (tesserae.focusring). Still when motion is reduced. A TextField's focused border is a style rule and stays solid.

  • Frosted navigation, search and menus (step 72). frosted: true on NavigationRail, NavigationDrawer, NavigationDrawerModal, Menu, SearchBar, SearchView and TopAppBar makes the surface 72% of its colour with a 20 pixel backdrop_blur, so what is behind shows through softly. Off by default (Material 3 has solid surfaces).

  • Icon toggles that morph (step 55). transition: {icon: ms} on an Icon eases a changed glyph into the next (tre morphs a path's data); IconButton uses it for selected_icon. Glyphs from different sets switch at once.

  • Ripple as a shader (step 48). App(ripple="shader") draws the press ripple with one anti-aliased fill shader per node (three presses at once, Material Web's timing) instead of a circle node per press (tesserae.ripple). The default stays nodes.

  • Routed views: nested routes, guards and lazy screens. A routed call inside a routed view is a nested screen under its parent's path; route: may be a mapping with path, guard, redirect and lazy; app.guard(screen, check) is the same from Python. A lazy screen's view is built when first reached.

  • Window: remember. remember: true (or a name) keeps the window's size, place and maximized state in the user's config directory and puts them back next run (tesserae.windowstate; TESSERAE_STATE_DIR moves it). Position is saved only where the platform reports one.

  • Toolbar: fit. Items that do not fit the width move into the overflow menu. It needed a way to know a size, so a Container gains measured_width and measured_height: outputs, written after layout and when the window resizes, bound like a scroll view's at_top.

  • SplitButton: the keyboard. Arrow-down on either part opens the menu and moves the focus to its first row. Overlay gains focus_first (and Menu passes it on) for any layer that should take the focus when it opens.

  • Routed views (#208). A view call with a route: is a screen in a window view written in the current language (it was only wired for the old syntax); app.params gives the screen the params it was reached with (a route like notes/{id:int}, back and forward restoring them), and the handlers navigate_to(screen, params) and navigate_route(path) go there.

  • Dialog: the full-screen form. fullscreen: true on Dialog fills the window on surface with a close button, the headline and the actions along the top and the content scrolling under them; it follows app.width_class when written so.

  • Window (#204). kind: Window and widget: Window take fullscreen, maximized, transparent, blur_behind and click_through, applied when the view loads and only when written (the size classes were #230).

  • Video (#198). An Image now shows its frame in a view (it was refused as "not drawn yet"), and widget: VideoPlayer puts a play/pause button, the time, a seek slider, a mute button, a buffering ring and a caption band under it. The app decodes and supplies frames; the player owns none of the playing.

  • Toolbar (#172, #173). widget: Toolbar: docked (64 tall, full width) or floating (a pill with a shadow, a row or a column), standard or vibrant, with IconButton items, an overflow Menu, an end action button, your own content in a slot, and hidden to fade it out of the tab order. IconButton gains tint, a colour role for a standard button's icon.

  • SplitButton (#124 to #128). widget: SplitButton: a main action and a menu button joined, in all five Button types and sizes, with a Menu under the trailing part whose chevron turns over while it is open.

  • NodeGraph (#202). snap (to a grid), arrows, fit (show every node), choosing a node, and a fit-to-view method.

  • DatePicker (#186, #187, #188, #189). DatePicker (the modal dialog: a month grid, a typed date, Cancel and OK) and DatePickerDay (one day, in all its states). The expression language gains date_add_days, date_weekday, days_in_month, format_date and current_date.

  • TopAppBar (#165). TopAppBar in four sizes (small, centre, medium, large) with a navigation icon, up to three labelled actions, a collapse to the small form and the on-scroll colour.

  • TextField, what was left (#244). The label glides, a filled field has 4 pixel top corners and a square bottom, the input is described by the help line, and suggestions offers autocomplete in a Menu under the field.

  • Dock (#206, #207). A DockPanel can be closable (a close button on its tab) and a Dock takes a two-way closed list of the names of the shut panels: closing adds a name, removing one opens the panel again.

  • Tree (#157, #158). Tree (branches that open to show their children, from nested data, with expanded and selected two-way and the tree keyboard), TreeNode (a branch or a leaf row) and TreeLevel.

  • Carousel (#199). Carousel (uncontained, multi-browse, hero and centre hero rows of rounded items that scroll sideways and settle on one). A ScrollView takes snap and any node a snap_align style (tre 0.5.6's scroll snap).

  • Accordion (#156). Accordion (a header button with a chevron that turns, and content while it is open) and AccordionGroup (single or multiple open, dividers, arrows between headers).

  • Search (#170, #171). SearchBar (a pill with a leading icon or menu button, a clear button, a trailing icon, an avatar, a two-way query and active) and SearchView (the docked panel of rows under it, with an empty state and the result count announced).

  • NavigationDrawer (#163, #164). NavigationDrawer (standard, collapses by easing its width), NavigationDrawerModal, NavigationDrawerScreens (the app's screens) and NavigationDrawerItem, with sections, dividers, badges, header and footer slots and a list that scrolls.

  • Menu (#168, #169). Menu (an anchored Overlay of rows with icons, shortcuts, checks, dividers, headings and submenus) and MenuItem. An Overlay's anchor is looked up in the view that called it when it is not found in its own (a menu names its button in the calling view), and anchor: parent sits against the node the overlay is written inside.

  • TimePicker (#190, #191, #192, #194). TimePicker (the dialog), TimeInput (typed hour and minute), PeriodSelector (AM / PM, one view for both states), and the dial gains a two-way mode. A view's state: may be seeded from the view's params; a TextField takes an on_edit handler; reconcile now notices a changed SpinBox option or dial mode.

  • SpinBox (#185). Holding a button repeats the step, Page Up and Page Down step ten at a time, wrap goes round the ends, decimals, prefix and suffix format the number, and SpinBoxField adds a visible label and supporting or error text.

  • Snackbar (#146). Snackbar (a message near the bottom that goes by itself, with an action and a close) and SnackbarHost (several, one after another). An Overlay takes a timeout (it closes itself, held off while the pointer is over it) and an on_dismiss handler.

  • SideSheet (#154, #155). SideSheet (standard, inline, its width eases), SideSheetModal (over a scrim, from either side) and the shared SideSheetPanel: a title, a back and a close button, scrolling content and actions.

  • Chip (#179 to #183). widget: Chip (assist, filter, input, suggestion; icon, avatar, elevated, a close button) and widget: ChipGroup (none, single, multiple and input modes, wrapping, arrows). A view can take a handler parameter: the caller's action or statements, which the view runs by calling the parameter by name (on_remove()).

  • Pagination (#200). widget: Pagination with a two-way page, pages, compact and dots: the numbers with an ellipsis, the current page filled, previous and next disabled at the ends.

  • Title bar (#205). The window buttons show a tooltip (Minimize, Maximize, Close); a widget: Tabs, TextField or IconButton in the bar's children works. A node's spec may carry a tooltip, which the composed view shows.

  • Card (#148, #149, #150). widget: Card with variant (elevated, filled, outlined), headline, subhead, text, media, an actions slot, actionable and selected. interaction: may now be an expression worked out from the view's params when the view is composed (never from a Signal).

  • NavigationRail (#159, #160, #161, #162). NavigationRail with items, selected, expanded, alignment and header/footer slots; NavigationRailItem with a badge; NavigationRailScreens and NavigationRailScreen for the app's screens (app.current_screen, navigate_to). A focus group starts on the item that is current.

  • ListItem (#153). widget: ListItem with a headline, supporting text and overline (56, 72 or 88 pixels), a leading icon, avatar or picture, trailing text or icon, leading and trailing slots, selectable/selected, disabled and a divider.

  • StatusBar (#201). widget: StatusBar with items at the start, centre and end (text, icon, tooltip, pressable ones that set clicked), a progress or busy edge, announced politely.

  • Fab (#133 to #140). widget: Fab with icon, label (the extended form), variant (primary, secondary, tertiary, surface), size (small, medium, large), collapsed and disabled; it rests at elevation 3, lifts to 4 on hover and settles on press.

  • Model parameters of a view may be written by the view even when the call gave an expression: the view holds its own copy, which follows the expression whenever it changes. Button gains flip (off, a toggle leaves flipping to the caller).

  • IconButton (#129, #130, #131, #132). widget: IconButton with variant (standard, filled, tonal, outlined), five sizes, three widths, shape, toggle/selected with a selected_icon, disabled; its label is its accessible name and tooltip. A handler a call gives for an event the called view's root handles itself now runs after the view's own (a toggle flips, then your on_click runs).

  • ButtonGroup (#123). widget: ButtonGroup with items, mode (none, single, multiple), selected, chosen, variant, size, connected and orientation. A model parameter nobody binds now holds its own value (a view's handlers may write it), a style given as an expression that works out to nothing leaves the field to the stylesheet, and a focus group starts on the item that is pressed.

  • Dialog (#151). widget: Dialog with open, headline, text, icon, actions, a two-way result, dismissible and your own content as children; a shipped view on a modal Overlay. A ScrollView with a max_height (or max_width) and no size of its own is now as long as its content up to that limit.

  • Tooltip (#147). A rich tooltip: takes placement and up to two actions; it stays while the pointer moves onto it, closes when an action is pressed, and a long press shows it.

  • Button (#118, #119, #120, #121, #122). widget: Button with variant (filled, tonal, elevated, outlined, text), five sizes, shape, icons, toggle/selected, loading and disabled; as wide as its label; lifts on hover; a pressed pill squares off. A shipped view with a stylesheet. Container and Rect take disabled.

  • ScrollView orientation: horizontal. A strip that scrolls sideways: children in a row, the offset along x, scroll_direction right or left, at_top/at_end for the start and end of the strip.

  • Requires tre 0.5.6. Timers run on the window's own after and every; layout transition: is the engine's own animation (a change to or from auto or a percentage is made at once); the accessibility states (pressed, invalid, description, current, busy, value_text, relations) are set on the node, and a Divider is a separator. The hand-stepped layout transitions and the dropped-state tolerance are gone. Scroll snap points are asked of tre (mindderivative/tess-re#166); a scroll_view with orientation="horizontal" already scrolls sideways.

Removed

  • tests/test_binding_parity.py and its recording: they asserted tre's quirks (1 == 1.0 false, 64-bit wraparound, no unary minus).

Added

  • tests/test_expr.py: the grammar table row by row, every limit, an escape corpus of about 190 inputs run as expressions and as
    handlers, grammar-based and mutation fuzzers, and a manual mutation check of the sandbox rules (each rule switched off fails a test).