Repository navigation
Docara 3.13.0
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=trueadds a Console tab with
the example'sconsole.log,info,warnanderror, and
log_open=falseopens the log collapsed. The example's own code can add
a line withdocara.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 theexamples.log_*strings oflang.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 ofui-c3015f76bcc2. What sites see:- the reader settings menu (
sf-menu-context1.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-buttonstays on one line at a segment join and shows keyboard keys
on a filled button;sf-badgehas one height per size;sf-switch,
sf-popover(an offset for the gap) andsf-dropdown(an empty state)
are updated, and code highlighting followscomponent.highlight1.1.1;- new Smart components are available on pages:
sf-alert-bar,sf-list,
sf-list-feed,sf-language,sf-settings,sf-wizardand
sf-wizard-step, withsf-input-dategaining time; - an inline
styleon 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. - the reader settings menu (