Skip to content

Docara 3.13.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 19:18
· 96 commits to main since this release

Added

  • A bullet between spaces separates parts of a line. In prose,
    `appearance` • по умолчанию `default` draws the • as a separator:
    a little smaller than the text, in the caption colour, centred on the
    line, and hidden from screen readers. A bullet without spaces around it
    and one inside code stay plain.
  • An example can show a log under it: :::example {log="click sf-button-press"}
    records those events from the example with the time and a short summary
    of their data, newest first. log_console=true adds a Console tab with
    the example's console.log, info, warn and error, and
    log_open=false opens the log collapsed. The example's own code can add
    a line with docara.example.log(name, detail). The log is part of the
    example's frame, works for inline and framed examples and in the
    responsive viewer, and is off unless an example asks for it. Its captions
    are the examples.log_* strings of lang.json. An inline example runs
    no script of its own, so its Console tab shows the page's console.

Changed

  • The header's language button is the Framework's sf-language. Its
    menu lists the site's languages, marks the current one and opens this
    page in the chosen language, as the globe menu did; the globe menu's own
    script and styles are gone. The header keeps the button's place while
    the picker loads, so the tools do not shift.

  • Docara bundles SIMAI Framework ui-2a671352d67b (registry bound at
    3f56fa78a) instead of ui-c3015f76bcc2. What sites see:

    • the reader settings menu (sf-menu-context 1.8.0) keeps its search
      field in place over the rows, fills the chosen row and leads it with a
      tick, fits a choice option in its row on a phone, keeps the wheel inside
      the menu and shows no scrollbar when the rows fit;
    • sf-button stays on one line at a segment join and shows keyboard keys
      on a filled button; sf-badge has one height per size; sf-switch,
      sf-popover (an offset for the gap) and sf-dropdown (an empty state)
      are updated, and code highlighting follows component.highlight 1.1.1;
    • new Smart components are available on pages: sf-alert-bar, sf-list,
      sf-list-feed, sf-language, sf-settings, sf-wizard and
      sf-wizard-step, with sf-input-date gaining time;
    • an inline style on a Smart element now reaches its markup.

    Sites that pin ui-c3015f76bcc2 (Docara 3.12.0 to 3.12.2) build with the
    new release.