Repository navigation
REDZ.UI 0.17.0
The editor gets the rest of what was decided on the mockup: live facts, an AI that only suggests, a review word by word, the
tone pad, translations side by side, the page's reading, and who wrote what. No model is ever called from a page.
Changed - the license of the editor
- From this release the editor,
editor/and its built files, is under PolyForm Strict 1.0.0, indist/LICENSE-editor: noncommercial
use only, no changes, no redistribution. It comes with REDZ products under their terms; anything else needs a separate license, see
LICENSING.md. The library stays under MIT, and versions up to 0.16.0 stay under MIT as released.
Added - the editor
- Live facts:
<data value="KEY">stands in every place a price, a date or a phone number is used, byoptions.facts.
@in the text puts one in, Facts in the foot counts its places and changes it in all of them throughoptions.onFact.
A value typed by hand where a fact holds it is found by the checks. - The AI's seam:
options.ai(task, {signal, progress})is the host's and async. Tasksrewrite,tones,translate,
write,readandaltcarry plain words, a fact as a token⟦KEY⟧. A refusal answers{refusal}and is said as one. A
closed block is never sent, and an answer whose block changed, whose fields do not fit or that lost a fact is left out. - The review: a suggestion is drawn word by word by
Intl.Segmenter, each change taken or left alone, and the value stays
what it was until the last one is decided. Marks on the words around a change stay. One task is one step of undo, and
options.onBatchhears it as one batch. - The lock on what an AI writes: it answers flat blocks of the passport's schema
editor.write, and the editor writes them
as REDZ.UI markup by the catalog, so a kind, a tone or a size the library does not have cannot come out. - The tone pad: nine versions from one request, shorter to longer and stricter to warmer, opened at once and tried on the block.
- Side by side: the source language in a frame of its own, row by row.
data-fromkeeps the hash of the source's words a block
was made from, so only the block that changed goes stale; a price that changes stales nothing. A stale row says what changed, by
languages[].versions. Translate all sends every row left as one task.options.sourcenames the language. - Ask the page: what a visitor's assistant would answer from this page alone.
- Who wrote it:
data-byanddata-checkedon a block, shown by the strip, kept withids. Text nobody checked is listed in the
checks. The rightreviewsigns it; a person without it can take a suggestion, and it stays unchecked.
Changed
languages: a language the session left keeps what was written in it when the session comes back to it, also withoutgetLanguage.- The foot holds the AI's menu, Facts and Check. A page that looked for the Check button as the foot's first button looks for
[data-editor-foot="check"].
Changed - the library
- The budgets: the stylesheet at most 36 KB, the script 34 KB, gzipped.
- A plain
btnin aninput-groupwears the field's line, an accent face and weight 600, so the group reads as one control; a plain
btn-iconthere reads asinput-group-text. Solid, outline, subtle and text buttons stay as they are. - A click on a control with
aria-disabled="true"and a title shows the title for three seconds and says it, as a tap always did. - The mark of a
table-danger,table-warning,table-activeor current row stands on the first cell a phone shows, when ad-none
cell comes first.
Fixed
- The caret in a block whose text changed under it threw in Safari, which stopped undo.
- A dialog and the palette keep their column while they close: for 0.2 s the header, the body and the footer stood in a row.
stat-labelandstat-subbreak one long word instead of running past a narrow tile.- A deep link to a tab's panel leaves the tabs in view, under a sticky header too.
Added
REDZ.ui.combobox.set(list, values)sets what a list holds from the page, as a choice does: its hidden fields, its button
or chips, theninputandchange. A form's Discard can go back to the last saved value;resetgoes back to the first.data-changedon anav-linkdraws the dot a field's mark has; the tab'saria-labelsays it to a screen reader.form-moreon adetailsfolds a long hint under a field, with a chevron that turns.data-tooltip-delayon a title or around it sets the wait of its tooltip;0shows it at once.- A folded rail's tooltip stands beside its link, so it covers no other icon.
--redz-progress-top-size,--redz-progress-top-trackand--redz-progress-top-glowset how much the request bar shows.- A flush list group with an
edge-start-*, a tintedbg-*-subtleor analertrow gives every row a card's side room, and edged rows keep
their starts in line. --redz-card-header-bg,--redz-drawer-header-bgand--redz-dialog-header-bgtint a section's head; a dialog's takes
--redz-dialog-header-endand--redz-dialog-header-linefor the room and the line under it.table-scroll-lastholds a wide table's last column in place, where a row's buttons stay in view.--redz-table-head-bg,--redz-table-head-text,--redz-table-head-weightand--redz-table-head-borderset the look of every
table head from a product's tokens.
Fixed
data-show-whenand a switch's hidden twin: a hidden field beside a checkbox or a radio of its name is what the form sends
while none is checked, sodata-show-incan name its value and a region withoutdata-show-inno longer counts it.
Files. redz-ui-0.17.0.zip - the folder a project serves, as it is: css/, js/, LICENSE, LICENSE-editor, NOTICE and redz-ui.json, the passport (the version, the floor, the files to link, the vocabulary and the sha256 of every file). This release needs the icon pack redz-ui-icons 1.13.2, a release of its own. checks.zip - the sheet of the probes this release passed in every engine, also at https://redz-tech.github.io/REDZ.UI/0.17.0/checks/.
Check the archive: gh release verify-asset v0.17.0 redz-ui-0.17.0.zip --repo redz-tech/REDZ.UI.