Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
"@php scripts/audit-catalog-groups.php",
"@docs:reachable:check",
"@docs:tokens:check",
"@docs:colour-legacy:check",
"@docs:wide-pages:check",
"@docs:catalogue-indexes:check",
"@docs:property-types:check",
"@docs:usage:check",
Expand All @@ -64,6 +66,9 @@
"docs:reachable:check": "@php scripts/audit-every-page-is-reachable.php",
"docs:tokens:build": "node scripts/build-token-reference.mjs",
"docs:tokens:check": "node scripts/build-token-reference.mjs --check",
"docs:colour-legacy:check": "node scripts/audit-colour-legacy.mjs",
"docs:wide-pages:build": "node scripts/audit-wide-data-pages.mjs --fix",
"docs:wide-pages:check": "node scripts/audit-wide-data-pages.mjs",
"docs:recipe:check": "@php scripts/audit-docara-recipe-primary.php",
"docs:smart-attributes:check": "node scripts/audit-smart-attribute-tables.mjs",
"docs:example-helpers:sync": "node scripts/sync-example-helpers.mjs",
Expand Down
16 changes: 8 additions & 8 deletions config/guide-release-values.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"schema": "ui-doc.guide-release-values.v1",
"why": "The release values the guide's pages name in its examples and tables, as last written. scripts/sync-framework-documentation-versions.php replaces each with the pinned value from scripts/materialize-framework-runtime.php and records the new set here; --check fails while a page still names an old one. `keep` lists the exact spans that name a past release on purpose; the sync leaves them as written.",
"values": {
"ui_runtime": "cb287da78ab1130641d5a628654dabc3d29e1f7a",
"ui_record": "fd651a12bcd3315cc7b71e251628b1d0d557e52d",
"source": "44a5efda6649def849c960c11ac56b2db90693b8",
"builder": "993e4be571687c7f02c78fc3c779382d861f56b6",
"pro": "b671241d4d341b2fbfd3b1f6e37703e0b330aabb",
"pro_builder": "993e4be571687c7f02c78fc3c779382d861f56b6",
"release": "ui-cb287da78ab1",
"npm_version": "5.20261109.559"
"ui_runtime": "b4a77681f0a7f1c540566e5abac2a4f9d3082a3d",
"ui_record": "c62eae925213318fca769c5cf0149f60b53df76c",
"source": "a29cc9989bebace9a98c235b074ce23998ad39c6",
"builder": "e87e47dc7b69e696e7aef48ffa626a307e6763ad",
"pro": "7a2900066a50a6c683edfe57367c442223d48532",
"pro_builder": "e87e47dc7b69e696e7aef48ffa626a307e6763ad",
"release": "ui-b4a77681f0a7",
"npm_version": "5.20261109.1121"
},
"keep": [
{
Expand Down
5 changes: 5 additions & 0 deletions config/guide-structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@
"title": "Контраст",
"order": 60
},
{
"slug": "surfaces",
"title": "Фоны",
"order": 65
},
{
"slug": "elevation",
"title": "Поверхность и тень",
Expand Down
12 changes: 11 additions & 1 deletion config/smart-reference.ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -2748,6 +2748,16 @@
"What the acceptance does (decision C13): danger, a delete or anything that cannot be undone. The accepting answer is then a filled danger button and the declining one quiet (decision C25). destructive is its former name.": "Что делает согласие (C13): danger — удаляет или не отменяется. Ответ «да» тогда залитая красная кнопка, а отказ — тихая (C25).",
"Where the link opens. Empty (default): the file downloads in the same tab. _blank: the file is opened to view in a new tab; the link shows the open-in-new sign and says «(откроется в новой вкладке)» to a screen reader (decision C25).": "Где открывается ссылка. Пусто, по умолчанию, — файл скачивается в той же вкладке. _blank — файл открывается для просмотра в новой вкладке: у ссылки знак новой вкладки, а экранный диктор слышит «(откроется в новой вкладке)».",
"ghost (default): no fill, a fill under the pointer; outline; tonal. link is ghost's former name (decision C15), read as ghost until 2027-01-01.": "ghost, по умолчанию, — без заливки, заливка под указателем; outline — с рамкой; tonal — мягкая заливка.",
"ready: the file can be fetched. preparing: the application is making it -- a spinner in the sign's place, «Готовим файл…», aria-busy, a press is ignored; when the host sets ready again with an href, the file a person pressed for is fetched once. error: it could not be made -- an error notice «Не удалось подготовить файл» with «Повторить» under the file (decision C25).": "ready — файл можно скачать. preparing — приложение его готовит: на месте знака индикатор, «Готовим файл…», aria-busy, нажатие не срабатывает; когда страница снова ставит ready с адресом в href, файл, за которым пришёл человек, скачивается один раз. error — подготовить не удалось: под файлом сообщение «Не удалось подготовить файл» и кнопка «Повторить»."
"ready: the file can be fetched. preparing: the application is making it -- a spinner in the sign's place, «Готовим файл…», aria-busy, a press is ignored; when the host sets ready again with an href, the file a person pressed for is fetched once. error: it could not be made -- an error notice «Не удалось подготовить файл» with «Повторить» under the file (decision C25).": "ready — файл можно скачать. preparing — приложение его готовит: на месте знака индикатор, «Готовим файл…», aria-busy, нажатие не срабатывает; когда страница снова ставит ready с адресом в href, файл, за которым пришёл человек, скачивается один раз. error — подготовить не удалось: под файлом сообщение «Не удалось подготовить файл» и кнопка «Повторить».",
"A table event the view listens to: filter templates were saved (detail {templates}). The view turns each template into saveView (view.save) with key, label, revision, level, roles, layout and settings, each one its own view.save, entries without a key skipped.": "Событие таблицы, которое слушает представление: шаблоны фильтров сохранены (detail {templates}). Представление превращает каждый шаблон в saveView (view.save) с key, label, revision, level, roles, layout и settings — каждый своим view.save; записи без key пропускаются.",
"A whole theme from one colour: the eight tonal palettes as the 128 --sf-<palette>-<tone> primitives and the 160 translucent steps core defines on them (--sf-<palette>-<tone>--alfa-<n>, listed in THEME_ALPHA), 288 variables in all.": "Целая тема из одного цвета: восемь тональных палитр как 128 примитивов --sf-<palette>-<tone> и 160 полупрозрачных ступеней, которые ядро задаёт на них (--sf-<palette>-<tone>--alfa-<n>, список в THEME_ALPHA), всего 288 переменных.",
"How the cards stand (owner decision C28). tile: cards in the grid, the control at the end of the name line, name, description and price on one left edge, the price at the foot after a divider (plans, modules). list: one frame of rows divided by lines, the control at the start, price and term a column at the end of the name line (delivery, payment); columns does not apply. picture: tiles whose image runs to the edges, the caption under it and the control at the end of the caption's name line; in a field narrower than 30rem (a phone) each tile is a row, the image at its start.": "Как стоят карточки (решение владельца C28). tile — карточки в сетке: элемент выбора в конце строки названия, название, описание и цена по одному левому краю, цена внизу после разделителя (тарифы, модули). list — одна рамка из строк, разделённых линиями: элемент выбора в начале, цена и срок — столбцом в конце строки названия (доставка, оплата); columns здесь не действует. picture — плитки с картинкой до краёв, подпись под ней, элемент выбора в конце строки названия подписи; в поле уже 30rem (телефон) каждая плитка становится строкой с картинкой в начале.",
"Request persistence of one or more filter templates (order, pin, delete, default, selected flags or data): detail {templates}, one entry or several. Loading a saved view is reported by sf-table-template-select.": "Запрос на сохранение одного или нескольких шаблонов фильтров (порядок, закрепление, удаление, флаги «по умолчанию» и «выбран» или данные): detail {templates}, одна запись или несколько. О загрузке сохранённого представления сообщает sf-table-template-select.",
"The control height (owner decision C27), separate from size: size sets the text, the icons and the inner scale, height picks the control height from the size's tightness steps of the adaptive-sizing contract -- low, default, high, highest, the size's usual step and its neighbours on the UI height ladder. Desktop 1/3 24/28/32/40, 1/2 28/32/40/48, 1 32/40/48/56, 2 40/48/56/68, 3 48/56/68/80; phone 1/3 20/24/28/36, 1/2 24/28/36/44, 1 28/36/44/52, 2 36/44/52/64, 3 44/52/64/76. The side padding grows with the height by half of what the height adds, so the gap from the end to the icon stays the same. A compact region (data-sf-density) shifts the steps one down and height picks the neighbour there. A value outside the list reads as default, with one console warning.": "Высота элемента управления (решение владельца C27), отдельно от size: size задаёт текст, значки и внутренний масштаб, а height выбирает высоту из ступеней плотности размера по контракту адаптивных размеров — low, default, high, highest: обычная ступень размера и её соседи на лестнице высот интерфейса. Компьютер: 1/3 — 24/28/32/40, 1/2 — 28/32/40/48, 1 — 32/40/48/56, 2 — 40/48/56/68, 3 — 48/56/68/80; телефон: 1/3 — 20/24/28/36, 1/2 — 24/28/36/44, 1 — 28/36/44/52, 2 — 36/44/52/64, 3 — 44/52/64/76. Боковой отступ растёт с высотой на половину прибавки, поэтому расстояние от края до значка не меняется. Компактная область (data-sf-density) сдвигает ступени на одну вниз, и height выбирает соседа уже там. Значение не из списка читается как default, с одним предупреждением в консоли.",
"The grid of tile and picture: auto fills the width with cards no narrower than --sf-choice-min-inline-size (15rem); a number is the most columns, fewer where a card would be narrower than that, so a phone stacks them. A list is one column.": "Сетка для tile и picture: auto заполняет ширину карточками не уже --sf-choice-min-inline-size (15rem); число — наибольшее количество столбцов, меньше там, где карточка стала бы уже, поэтому на телефоне они встают друг под другом. list — всегда один столбец.",
"The hue of the static palette the initials are drawn in (owner decision C17): the plate is the hue's container, the ink its on-container. Empty: the neutral look. auto: one of eight hues (pink, amber, lime, green, teal, sky, indigo, violet) picked from the name (heading, else aria-label, else text) by a fixed hash, the same in every browser and on a server; no name, the neutral look. Only initials take a hue: an image and the placeholder stay as they are. --sf-avatar-background-color and --sf-avatar-color still win.": "Оттенок статической палитры, которым рисуются инициалы (решение владельца C17): плашка — container оттенка, буквы — его on-container. Пусто — нейтральный вид. auto — один из восьми оттенков (pink, amber, lime, green, teal, sky, indigo, violet), выбранный по имени (heading, иначе aria-label, иначе текст) постоянным хешем, одинаковым в любом браузере и на сервере; без имени — нейтральный вид. Оттенок получают только инициалы: картинка и заглушка не меняются. --sf-avatar-background-color и --sf-avatar-color по-прежнему главнее.",
"The options, [{value, label, caption?, icon?, badge?, price?, term?, image?, disabled?}]: each a card with its name (label, or title), a description under it (caption), an icon on the name line, a short badge (sf-badge) beside the name, a price and its term (list: a column at the end of the name line; tile and picture: the foot of the card, after a divider) and an image (picture: to the card's edges, over the caption). A property, the JSON island or the attribute as JSON. An option without a value or repeating one is left out.": "Варианты, [{value, label, caption?, icon?, badge?, price?, term?, image?, disabled?}]: каждый — карточка с названием (label или title), описанием под ним (caption), значком в строке названия, коротким бейджем (sf-badge) рядом с названием, ценой и сроком (list — столбец в конце строки названия; tile и picture — низ карточки после разделителя) и картинкой (picture — до краёв карточки, над подписью). Свойство, JSON-остров или атрибут в виде JSON. Вариант без value или с повторяющимся value пропускается.",
"The panel asks to be closed (by its close control, Esc, a press on the dimmed page or Cancel), carrying how many fields would be lost: changed and not saved, or entered and not yet a value.": "Панель просит закрыть её (своей кнопкой закрытия, Esc, нажатием на затемнённую страницу или «Отмена») и сообщает, сколько полей будет потеряно: изменённых и не сохранённых или введённых, но ещё не ставших значением.",
"The theme as one stylesheet rule of its 128 primitives and 160 translucent steps, under the given selector or the `selector` attribute.": "Тема одним правилом таблицы стилей из 128 примитивов и 160 полупрозрачных ступеней — под заданным селектором или селектором из атрибута `selector`."
}
}
8 changes: 4 additions & 4 deletions content/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Framework is open under Apache-2.0.
3. Open the page — the loader fetches what the page uses.

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@simai-studio/ui@5.20261109.559/distr/core/css/core.min.css">
<script>window.sfPath = 'https://cdn.jsdelivr.net/npm/@simai-studio/ui@5.20261109.559/distr/';</script>
<script src="https://cdn.jsdelivr.net/npm/@simai-studio/ui@5.20261109.559/distr/core/js/core.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@simai-studio/ui@5.20261109.1121/distr/core/css/core.min.css">
<script>window.sfPath = 'https://cdn.jsdelivr.net/npm/@simai-studio/ui@5.20261109.1121/distr/';</script>
<script src="https://cdn.jsdelivr.net/npm/@simai-studio/ui@5.20261109.1121/distr/core/js/core.min.js"></script>

<sf-button text="Save"></sf-button>
```
Expand Down Expand Up @@ -80,7 +80,7 @@ Russian).

---

**SIMAI Framework** · release `ui-cb287da78ab1` ·
**SIMAI Framework** · release `ui-b4a77681f0a7` ·
[GitHub](https://github.com/simai/ui-source) ·
[Report a problem](https://github.com/simai/ui-source/issues) ·
[Versions](/ru/guide/connection/versions/) ·
Expand Down
Loading
Loading