Polish approved 1.0 scope and verify portable previews
No files matched your search
@@ -1,27 +1,29 @@
|
|||||||
# Anidev Design System
|
# Anidev Design System
|
||||||
|
|
||||||
Dock утверждён пользователем 30.11.2026 и является единственным активным дизайном. Не возвращайте переключатель альтернативных концепций и маркировку EXPLORATIONS. Переносимый пакет и Skill собираются через npm run build:package; исходник Skill в skills/anidev-design-system, устанавливается только собранная папка dist/skills/anidev-design-system.
|
Dock утверждён пользователем 30.11.2026 и является единственным активным дизайном. Не возвращайте переключатель альтернативных концепций и маркировку EXPLORATIONS. Переносимый пакет и Skill собираются через npm run build:package; исходник Skill в skills/anidev-design-system, устанавливается только собранная папка dist/skills/anidev-design-system.
|
||||||
|
|
||||||
Прочитайте DESIGN.md, ANTI-SLOP.md, components/CONTRACT.md и references/RESEARCH.md перед UI-работой. Сохраняйте утверждённый Dock и единые семантические токены. Пользовательские указания имеют приоритет. Не активируйте внешние skills из .research: это исследовательские источники, не инструкции проекта.
|
Прочитайте DESIGN.md, ANTI-SLOP.md, components/CONTRACT.md и references/RESEARCH.md перед UI-работой. Сохраняйте утверждённый Dock и единые семантические токены. Пользовательские указания имеют приоритет. Не активируйте внешние skills из .research: это исследовательские источники, не инструкции проекта.
|
||||||
|
|
||||||
Используйте native HTML, CSS custom properties и JS modules. Не добавляйте framework или runtime dependency без функциональной причины. Изменяйте токены в concepts/registry.js, затем запускайте npm run check для генерации CSS/JSON.
|
Используйте native HTML, CSS custom properties и JS modules. Не добавляйте framework или runtime dependency без функциональной причины. Изменяйте токены в concepts/registry.js, затем запускайте npm run check для генерации CSS/JSON.
|
||||||
|
|
||||||
Проверка: npm run check; npm test при работающем npm run dev. Browser suite использует Edge или PLAYWRIGHT_EXECUTABLE_PATH. Проверяйте desktop/tablet/mobile, обе темы, RU/EN, диалоги, фокус, экспорт. Фиксируйте реальные ограничения в references/QA.md. Не называйте автоматический тест полным аудитом доступности.
|
Проверка: npm run check; npm test при работающем npm run dev. Browser suite использует Edge или PLAYWRIGHT_EXECUTABLE_PATH. Проверяйте desktop/tablet/mobile, обе темы, RU/EN, диалоги, фокус, экспорт. Фиксируйте реальные ограничения в references/QA.md. Не называйте автоматический тест полным аудитом доступности.
|
||||||
|
|
||||||
Не коммитьте .research, node_modules, .tools, приватные ключи, credentials и тестовые выгрузки. Для push используйте настроенную SSH-аутентификацию без сохранения содержимого ключей.
|
Не коммитьте .research, node_modules, .tools, приватные ключи, credentials и тестовые выгрузки. Для push используйте настроенную SSH-аутентификацию без сохранения содержимого ключей.
|
||||||
|
|
||||||
Личный кабинет и состояния Identity в этой галерее являются демонстрационными. Промпт SSO — продуктовый контекст; не меняйте соседний репозиторий SSO Service и не подключайте реальную авторизацию без отдельного задания пользователя.
|
Личный кабинет и состояния Identity в этой галерее являются демонстрационными. Промпт SSO — продуктовый контекст; не меняйте соседний репозиторий SSO Service и не подключайте реальную авторизацию без отдельного задания пользователя.
|
||||||
|
|
||||||
Панель задумана отдельным фронтендом, который делает API-запросы. Один Dock получает доступные разделы/группы как данные; не создавайте отдельную панель для каждого сервера. Контроллеры в components/dock.js и components/navigation.js не владеют запросами и маршрутизатором. Контракт примера — docs/PANEL-API.md. При обновлении меню сохраняйте доступную активную страницу, убирайте недоступные данные и отменяйте устаревшие запросы.
|
Панель задумана отдельным фронтендом, который делает API-запросы. Один Dock получает доступные разделы/группы как данные; не создавайте отдельную панель для каждого сервера. Контроллеры в components/dock.js и components/navigation.js не владеют запросами и маршрутизатором. Контракт примера — docs/PANEL-API.md. При обновлении меню сохраняйте доступную активную страницу, убирайте недоступные данные и отменяйте устаревшие запросы.
|
||||||
|
|
||||||
По уточнению пользователя Dock — сам сайт: root index.html сразу показывает приложение, внешняя оболочка и iframe удалены. Не возвращайте их. Hover/focus/active обязательны именно для пунктов бокового меню (Обзор, Пользователи и остальные).
|
По уточнению пользователя Dock — сам сайт: root index.html сразу показывает приложение, внешняя оболочка и iframe удалены. Не возвращайте их. Hover/focus/active обязательны именно для пунктов бокового меню (Обзор, Пользователи и остальные).
|
||||||
|
|
||||||
Аккаунт и настройки аккаунта всегда остаются в нижней части единой панели, независимо от сервисных вкладок API и блокировки сервисов. account/account-settings — системные маршруты. API пока не существует: JSON в starter — fixtures, будущий контракт описан в docs/BACKEND-INTEGRATION.md. Ошибки используют общий error-page, бан — отдельное состояние banned с причиной текстом.
|
Аккаунт и настройки аккаунта всегда остаются в нижней части единой панели, независимо от сервисных вкладок API и блокировки сервисов. account/account-settings — системные маршруты. API пока не существует: JSON в starter — fixtures, будущий контракт описан в docs/BACKEND-INTEGRATION.md. Ошибки используют общий error-page, бан — отдельное состояние banned с причиной текстом.
|
||||||
|
|
||||||
Уточнение: постоянный аккаунт существует только после входа. Без подтверждённой сессии нет Dock/шапки/подложки — только вход или состояние. Пользовательская и административная панели имеют разные Dock; личное управление убрано из основного nav. В строке «Аккаунт» — боковое подменю Управление/Безопасность/Устройства и сеансы/Настройки; обычный клик по строке открывает Управление. Учитывайте hover, клавиатуру и touch.
|
Уточнение: постоянный аккаунт существует только после входа. Без подтверждённой сессии нет Dock/шапки/подложки — только вход или состояние. Пользовательская и административная панели имеют разные Dock; личное управление убрано из основного nav. В строке «Аккаунт» — боковое подменю Управление/Безопасность/Устройства и сеансы/Настройки; обычный клик по строке открывает Управление. Учитывайте hover, клавиатуру и touch.
|
||||||
|
|
||||||
Оформление не занимает отдельный пункт подменю: светлая/тёмная тема переключаются компактными кнопками солнце/луна внизу меню аккаунта, без навигации. По просьбе пользователя промежуточные правки выполняются без тестовых прогонов; полный набор проверок отложен на финальный этап.
|
Оформление не занимает отдельный пункт подменю: светлая/тёмная тема переключаются компактными кнопками солнце/луна внизу меню аккаунта, без навигации. Промежуточные правки до утверждения состава выполнялись без тестов. Состав утверждён 02.12.2026; теперь разрешён полный итоговый прогон.
|
||||||
|
|
||||||
На мобильных Dock снизу с четырьмя иконками: текущий раздел, предыдущий, полное меню, аккаунт. Левого rail на мобильных нет. Полное меню открывается вверх, при выборе закрывается; предыдущий пункт недоступен до первого перехода. Повтор текущей страницы историю не меняет, переход к предыдущей меняет их местами. История сбрасывается при выходе/смене аккаунта/контекста панели; недоступные пункты удаляются. Desktop сохраняет прежний Dock. Общий контроллер — components/mobile-dock.js, стили — mobile-dock.css.
|
На мобильных Dock снизу с четырьмя иконками: текущий раздел, предыдущий, полное меню, аккаунт. Левого rail на мобильных нет. Полное меню открывается вверх, при выборе закрывается; предыдущий пункт недоступен до первого перехода. Повтор текущей страницы историю не меняет, переход к предыдущей меняет их местами. История сбрасывается при выходе/смене аккаунта/контекста панели; недоступные пункты удаляются. Desktop сохраняет прежний Dock. Общий контроллер — components/mobile-dock.js, стили — mobile-dock.css.
|
||||||
|
|
||||||
Расширение 02.12.2026: Markdown, минимальный редактор, breadcrumbs, графики и mini-log — отдельные контроллеры в components, публичный API в runtime/index.js, контракт docs/CONTENT-WORKSPACES.md. content-demo.js и patterns/demo-{documents,statistics}.js — только примеры. Не превращайте их в backend-контракт. Зависимости Marked/DOMPurify/Highlight.js функционально нужны для разбора, очистки и подсветки; runtime использует локальный vendor/text. Полная проверка отложена именно до утверждения состава пользователем, включая новые модули, мобильный Dock и предыдущие промежуточные правки.
|
Расширение 02.12.2026: Markdown, минимальный редактор, breadcrumbs, графики и mini-log — отдельные контроллеры в components, публичный API в runtime/index.js, контракт docs/CONTENT-WORKSPACES.md. content-demo.js и patterns/demo-{documents,statistics}.js — только примеры. Не превращайте их в backend-контракт. Зависимости Marked/DOMPurify/Highlight.js функционально нужны для разбора, очистки и подсветки; runtime использует локальный vendor/text. Итоговая проверка охватывает новые модули, мобильный Dock и предыдущие промежуточные правки.
|
||||||
|
|
||||||
|
Пользователь утвердил состав 1.0 02.12.2026 и разрешил полную проверку интерфейса и переносимости. Пауза проверок снята. Выпуск/публикация/тег 1.0 запрещены до следующего ручного просмотра и разрешения пользователя; текущий пакет остаётся 0.2.0 integration-preview. Объём зафиксирован в docs/SCOPE-1.0.md.
|
||||||
@@ -10,7 +10,7 @@ Dock утверждён пользователем 30.11.2026. Это единс
|
|||||||
|
|
||||||
## Композиция
|
## Композиция
|
||||||
|
|
||||||
Фиксированная панель 68px на desktop и 60px на mobile. Сверху a/ — доступная кнопка для клавиатуры и touch; отдельной иконки раскрытия нет. Hover панели открывает её до 252px поверх контента, с затемнением и inert для основной области. Клик закрепляет меню, Escape и подложка закрывают. Геометрия контента не меняется.
|
Фиксированная панель 68px на desktop; на mobile — нижний Dock из четырёх иконок. Сверху a/ — доступная кнопка для клавиатуры и touch; отдельной иконки раскрытия нет. Hover панели открывает её до 252px поверх контента, с затемнением и inert для основной области. Клик закрепляет меню, Escape и подложка закрывают. Геометрия контента не меняется.
|
||||||
|
|
||||||
Пользовательская и административная панели имеют разные Dock. Личные разделы собраны в нижней строке «Аккаунт» с боковым подменю; основной клик открывает управление. Без подтверждённого входа Dock, шапка и подложка отсутствуют — показывается только вход или состояние. Основной текст 16px, таблицы и подписи 14px, метаданные 12–13px. Плотность меняет контролы и интервалы, мобильные цели остаются удобными для касания.
|
Пользовательская и административная панели имеют разные Dock. Личные разделы собраны в нижней строке «Аккаунт» с боковым подменю; основной клик открывает управление. Без подтверждённого входа Dock, шапка и подложка отсутствуют — показывается только вход или состояние. Основной текст 16px, таблицы и подписи 14px, метаданные 12–13px. Плотность меняет контролы и интервалы, мобильные цели остаются удобными для касания.
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ node scripts/serve.mjs
|
|||||||
|
|
||||||
[Каталог Dock Icons](http://127.0.0.1:4173/icons/) · [SVG-пак](icons/anidev-dock-icons.zip) · [Использование](icons/README.md).
|
[Каталог Dock Icons](http://127.0.0.1:4173/icons/) · [SVG-пак](icons/anidev-dock-icons.zip) · [Использование](icons/README.md).
|
||||||
|
|
||||||
64 иконки в общей сетке 24×24: отдельные SVG, sprite, JS-модуль, manifest и обзорные листы обеих тем. Каталог поддерживает поиск, разделы, размеры 16/20/24/32/48px и копирование SVG. Пак подключён к навигации и входит в экспорт системы. Исходник — icons/icons.js; сборка: `npm run icons:build`, проверка: `npm run test:icons`.
|
76 иконок в общей сетке 24×24: отдельные SVG, sprite, JS-модуль, manifest и обзорные листы обеих тем. Каталог поддерживает поиск, разделы, размеры 16/20/24/32/48px и копирование SVG. Пак подключён к навигации и входит в экспорт системы. Исходник — icons/icons.js; сборка: `npm run icons:build`, проверка: `npm run test:icons`.
|
||||||
|
|
||||||
## SSH-консоль и log-ридер
|
## SSH-консоль и log-ридер
|
||||||
|
|
||||||
@@ -87,4 +87,8 @@ Suite использует Edge на Windows или PLAYWRIGHT_EXECUTABLE_PATH.
|
|||||||
|
|
||||||
Добавлены Markdown-просмотр с очисткой HTML, редактор с подсветкой и номерами строк, виртуальные папки и кликабельные хлебные крошки. Экран статистики содержит CPU, память, сеть, диски, HTTP-запросы, 5xx, распределение места и индикатор CPU; рядом — мини-логи с цветом всей строки по уровню. Графики поддерживают line/area/bar/stacked/donut/gauge/sparkline. Все показатели тестовые.
|
Добавлены Markdown-просмотр с очисткой HTML, редактор с подсветкой и номерами строк, виртуальные папки и кликабельные хлебные крошки. Экран статистики содержит CPU, память, сеть, диски, HTTP-запросы, 5xx, распределение места и индикатор CPU; рядом — мини-логи с цветом всей строки по уровню. Графики поддерживают line/area/bar/stacked/donut/gauge/sparkline. Все показатели тестовые.
|
||||||
|
|
||||||
[Контракт компонентов и данных](docs/CONTENT-WORKSPACES.md). Быстрый просмотр: `/?page=statistics&panel=admin` и `/?page=documents&path=/some/fee/foo/README.md`. Новые модули включены в runtime, starter, переносимый пакет и экспорт галереи. Версия остаётся предварительной; проверки новых правок будут после утверждения состава пользователем.
|
[Контракт компонентов и данных](docs/CONTENT-WORKSPACES.md). Быстрый просмотр: `/?page=statistics&panel=admin` и `/?page=documents&path=/some/fee/foo/README.md`. Новые модули включены в runtime, starter, переносимый пакет и экспорт галереи. Версия остаётся предварительной; состав 1.0 утверждён, итоговые проверки выполняются перед ручным просмотром. Выпуск 1.0 пока не разрешён.
|
||||||
|
|
||||||
|
[Утверждённый состав 1.0](docs/SCOPE-1.0.md). Версия пакета намеренно остаётся 0.2.0 до разрешения на выпуск.
|
||||||
|
|
||||||
|
Итоговый проход после утверждения выполнен; результаты и ограничения — в [QA](references/QA.md). Пакет и ZIP проверены вне исходного checkout, Skill — во временном проекте. Следующий этап — ручной просмотр пользователя, выпуск не выполнялся.
|
||||||
@@ -88,4 +88,4 @@ Revision 04: отдельной иконки раскрытия Dock нет. Hov
|
|||||||
|
|
||||||
## Содержимое и серверная статистика
|
## Содержимое и серверная статистика
|
||||||
|
|
||||||
Markdown — через Marked + DOMPurify и локальную подсветку; редактор — textarea с номерами строк, без исполнения кода. Разрешения/сохранение/запросы остаются у приложения. Хлебные крошки используют реальные ссылки на родителей. Графики имеют единицы, период, значения при наведении и числовое представление. Мини-логи окрашивают всю строку по уровню, сохраняя текст уровня. Детальные контракты: [CONTENT-WORKSPACES.md](../docs/CONTENT-WORKSPACES.md). Новые элементы 02.12.2026 ожидают утверждения и итоговых проверок.
|
Markdown — через Marked + DOMPurify и локальную подсветку; редактор — textarea с номерами строк, без исполнения кода. Разрешения/сохранение/запросы остаются у приложения. Хлебные крошки используют реальные ссылки на родителей. Графики имеют единицы, период, значения при наведении и числовое представление. Мини-логи окрашивают всю строку по уровню, сохраняя текст уровня. Детальные контракты: [CONTENT-WORKSPACES.md](../docs/CONTENT-WORKSPACES.md). Состав 1.0 утверждён 02.12.2026; выпуск ожидает итоговых проверок и ручного просмотра.
|
||||||
@@ -54,7 +54,7 @@ export function mountAccountSubmenu(parent) {
|
|||||||
}
|
}
|
||||||
function position() {
|
function position() {
|
||||||
cancelAnimationFrame(frame);
|
cancelAnimationFrame(frame);
|
||||||
frame = requestAnimationFrame(() => {
|
function place() {
|
||||||
if (disposed || !open()) return;
|
if (disposed || !open()) return;
|
||||||
const viewport = window.visualViewport,
|
const viewport = window.visualViewport,
|
||||||
vw = viewport?.width || document.documentElement.clientWidth,
|
vw = viewport?.width || document.documentElement.clientWidth,
|
||||||
@@ -83,7 +83,9 @@ export function mountAccountSubmenu(parent) {
|
|||||||
oy + 12,
|
oy + 12,
|
||||||
Math.min(row.getBoundingClientRect().top, oy + vh - h - 12),
|
Math.min(row.getBoundingClientRect().top, oy + vh - h - 12),
|
||||||
) + "px";
|
) + "px";
|
||||||
});
|
}
|
||||||
|
place();
|
||||||
|
frame = requestAnimationFrame(place);
|
||||||
}
|
}
|
||||||
function close(restore = false) {
|
function close(restore = false) {
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
|
|||||||
@@ -8,17 +8,18 @@ const types = new Set([
|
|||||||
"gauge",
|
"gauge",
|
||||||
"sparkline",
|
"sparkline",
|
||||||
]);
|
]);
|
||||||
const format = (value, unit = "") =>
|
|
||||||
value == null
|
|
||||||
? "—"
|
|
||||||
: `${new Intl.NumberFormat(undefined, { maximumFractionDigits: 2 }).format(value)}${unit ? " " + unit : ""}`;
|
|
||||||
export function mountChart(root, initial) {
|
export function mountChart(root, initial) {
|
||||||
const abort = new AbortController(),
|
const abort = new AbortController(),
|
||||||
{ signal } = abort;
|
{ signal } = abort;
|
||||||
let model,
|
let options = {},
|
||||||
|
model,
|
||||||
active = -1,
|
active = -1,
|
||||||
disposed = false;
|
disposed = false;
|
||||||
root.classList.add("metric-chart");
|
root.classList.add("metric-chart");
|
||||||
|
const format = (value, unit = "") =>
|
||||||
|
value == null
|
||||||
|
? "—"
|
||||||
|
: `${new Intl.NumberFormat(model.t("ru-RU", "en-US"), { maximumFractionDigits: 1 }).format(value)}${unit ? " " + unit : ""}`;
|
||||||
function normalize(options) {
|
function normalize(options) {
|
||||||
const type = options.type || "line";
|
const type = options.type || "line";
|
||||||
if (!types.has(type)) throw new TypeError("Unknown chart type");
|
if (!types.has(type)) throw new TypeError("Unknown chart type");
|
||||||
@@ -132,7 +133,7 @@ export function mountChart(root, initial) {
|
|||||||
if (value == null) return;
|
if (value == null) return;
|
||||||
const from = type === "stacked" ? sum : 0,
|
const from = type === "stacked" ? sum : 0,
|
||||||
to = from + value;
|
to = from + value;
|
||||||
output += `<rect class="chart-bar series-${s}" x="${12 + index * group + (type === "stacked" ? group * 0.14 : group * 0.14 + s * width)}" y="${Math.min(y(from), y(to))}" width="${width}" height="${Math.max(1, Math.abs(y(to) - y(from)))}" rx="2"/>`;
|
output += `<rect class="chart-bar series-${s}" x="${12 + index * group + (type === "stacked" ? group * 0.14 : group * 0.14 + s * width)}" y="${Math.min(y(from), y(to))}" width="${width}" height="${Math.abs(y(to) - y(from))}" rx="2"/>`;
|
||||||
sum += value;
|
sum += value;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -148,6 +149,8 @@ export function mountChart(root, initial) {
|
|||||||
});
|
});
|
||||||
if (run.length) runs.push(run);
|
if (run.length) runs.push(run);
|
||||||
for (const points of runs) {
|
for (const points of runs) {
|
||||||
|
if (points.length === 1)
|
||||||
|
output += `<circle class="chart-bar series-${s}" cx="${points[0][0]}" cy="${points[0][1]}" r="3"/>`;
|
||||||
const d = points
|
const d = points
|
||||||
.map(([px, py], index) => `${index ? "L" : "M"}${px},${py}`)
|
.map(([px, py], index) => `${index ? "L" : "M"}${px},${py}`)
|
||||||
.join(" ");
|
.join(" ");
|
||||||
@@ -212,9 +215,7 @@ export function mountChart(root, initial) {
|
|||||||
tooltip.hidden = false;
|
tooltip.hidden = false;
|
||||||
tooltip.setAttribute("aria-live", keyboard ? "polite" : "off");
|
tooltip.setAttribute("aria-live", keyboard ? "polite" : "off");
|
||||||
const width = plot.clientWidth,
|
const width = plot.clientWidth,
|
||||||
px = round
|
px = round ? width / 2 : (x(active) / 640) * width;
|
||||||
? width / 2
|
|
||||||
: (model.count < 2 ? 0.5 : active / (model.count - 1)) * width;
|
|
||||||
tooltip.style.left =
|
tooltip.style.left =
|
||||||
Math.max(
|
Math.max(
|
||||||
6,
|
6,
|
||||||
@@ -235,14 +236,21 @@ export function mountChart(root, initial) {
|
|||||||
"pointermove",
|
"pointermove",
|
||||||
(event) => {
|
(event) => {
|
||||||
const plot = event.target.closest(".chart-plot");
|
const plot = event.target.closest(".chart-plot");
|
||||||
if (!plot) return;
|
if (!plot) {
|
||||||
|
hide();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (["donut", "gauge"].includes(model.type)) {
|
if (["donut", "gauge"].includes(model.type)) {
|
||||||
const slice = event.target.closest("[data-chart-slice]");
|
const slice = event.target.closest("[data-chart-slice]");
|
||||||
if (slice) show(Number(slice.dataset.chartSlice));
|
if (slice) show(Number(slice.dataset.chartSlice));
|
||||||
|
else hide();
|
||||||
} else {
|
} else {
|
||||||
const ratio =
|
const ratio =
|
||||||
(event.clientX - plot.getBoundingClientRect().left) /
|
(((event.clientX - plot.getBoundingClientRect().left) /
|
||||||
Math.max(1, plot.clientWidth);
|
Math.max(1, plot.clientWidth)) *
|
||||||
|
640 -
|
||||||
|
12) /
|
||||||
|
616;
|
||||||
show(
|
show(
|
||||||
["bar", "stacked"].includes(model.type)
|
["bar", "stacked"].includes(model.type)
|
||||||
? Math.floor(ratio * model.count)
|
? Math.floor(ratio * model.count)
|
||||||
@@ -307,9 +315,11 @@ export function mountChart(root, initial) {
|
|||||||
},
|
},
|
||||||
{ signal },
|
{ signal },
|
||||||
);
|
);
|
||||||
function update(options) {
|
function update(next) {
|
||||||
if (disposed) return;
|
if (disposed) return;
|
||||||
model = normalize({ ...model, ...options });
|
const candidate = { ...options, ...next };
|
||||||
|
model = normalize(candidate);
|
||||||
|
options = candidate;
|
||||||
render();
|
render();
|
||||||
}
|
}
|
||||||
update(initial);
|
update(initial);
|
||||||
|
|||||||
@@ -88,6 +88,7 @@
|
|||||||
}
|
}
|
||||||
.markdown-body table {
|
.markdown-body table {
|
||||||
display: block;
|
display: block;
|
||||||
|
min-width: 0;
|
||||||
width: max-content;
|
width: max-content;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -488,140 +489,140 @@
|
|||||||
margin: 4px 0 8px;
|
margin: 4px 0 8px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
.chart-heading h3 {
|
.metric-chart .chart-heading h3 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin: 0 0 5px;
|
margin: 0 0 5px;
|
||||||
}
|
}
|
||||||
.chart-heading p {
|
.metric-chart .chart-heading p {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: var(--color-muted);
|
color: var(--color-muted);
|
||||||
margin: 0 0 12px;
|
margin: 0 0 12px;
|
||||||
}
|
}
|
||||||
.chart-plot {
|
.metric-chart .chart-plot {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 180px;
|
height: 180px;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
.chart-plot > svg {
|
.metric-chart .chart-plot > svg {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.chart-grid {
|
.metric-chart .chart-grid {
|
||||||
stroke: var(--color-border);
|
stroke: var(--color-border);
|
||||||
stroke-width: 1;
|
stroke-width: 1;
|
||||||
stroke-dasharray: 4 5;
|
stroke-dasharray: 4 5;
|
||||||
vector-effect: non-scaling-stroke;
|
vector-effect: non-scaling-stroke;
|
||||||
}
|
}
|
||||||
.series-0 {
|
.metric-chart .series-0 {
|
||||||
--series-color: var(--color-accent);
|
--series-color: var(--color-accent);
|
||||||
}
|
}
|
||||||
.series-1 {
|
.metric-chart .series-1 {
|
||||||
--series-color: var(--color-warning);
|
--series-color: var(--color-warning);
|
||||||
}
|
}
|
||||||
.series-2 {
|
.metric-chart .series-2 {
|
||||||
--series-color: var(--color-success);
|
--series-color: var(--color-success);
|
||||||
}
|
}
|
||||||
.series-3 {
|
.metric-chart .series-3 {
|
||||||
--series-color: var(--color-danger);
|
--series-color: var(--color-danger);
|
||||||
}
|
}
|
||||||
.series-4 {
|
.metric-chart .series-4 {
|
||||||
--series-color: color-mix(
|
--series-color: color-mix(
|
||||||
in srgb,
|
in srgb,
|
||||||
var(--color-accent) 50%,
|
var(--color-accent) 50%,
|
||||||
var(--color-text)
|
var(--color-text)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
.series-5 {
|
.metric-chart .series-5 {
|
||||||
--series-color: var(--color-muted);
|
--series-color: var(--color-muted);
|
||||||
}
|
}
|
||||||
.series-6 {
|
.metric-chart .series-6 {
|
||||||
--series-color: color-mix(
|
--series-color: color-mix(
|
||||||
in srgb,
|
in srgb,
|
||||||
var(--color-warning) 65%,
|
var(--color-warning) 65%,
|
||||||
var(--color-text)
|
var(--color-text)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
.series-7 {
|
.metric-chart .series-7 {
|
||||||
--series-color: color-mix(
|
--series-color: color-mix(
|
||||||
in srgb,
|
in srgb,
|
||||||
var(--color-success) 65%,
|
var(--color-success) 65%,
|
||||||
var(--color-text)
|
var(--color-text)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
.chart-line {
|
.metric-chart .chart-line {
|
||||||
stroke: var(--series-color);
|
stroke: var(--series-color);
|
||||||
fill: none;
|
fill: none;
|
||||||
stroke-width: 2;
|
stroke-width: 2;
|
||||||
vector-effect: non-scaling-stroke;
|
vector-effect: non-scaling-stroke;
|
||||||
stroke-linejoin: round;
|
stroke-linejoin: round;
|
||||||
}
|
}
|
||||||
.chart-area {
|
.metric-chart .chart-area {
|
||||||
fill: var(--series-color);
|
fill: var(--series-color);
|
||||||
opacity: 0.13;
|
opacity: 0.13;
|
||||||
stroke: none;
|
stroke: none;
|
||||||
}
|
}
|
||||||
.chart-bar {
|
.metric-chart .chart-bar {
|
||||||
fill: var(--series-color);
|
fill: var(--series-color);
|
||||||
opacity: 0.85;
|
opacity: 0.85;
|
||||||
}
|
}
|
||||||
.chart-crosshair {
|
.metric-chart .chart-crosshair {
|
||||||
stroke: var(--color-muted);
|
stroke: var(--color-muted);
|
||||||
stroke-width: 1;
|
stroke-width: 1;
|
||||||
stroke-dasharray: 3 3;
|
stroke-dasharray: 3 3;
|
||||||
vector-effect: non-scaling-stroke;
|
vector-effect: non-scaling-stroke;
|
||||||
}
|
}
|
||||||
.chart-crosshair[hidden] {
|
.metric-chart .chart-crosshair[hidden] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.chart-axis {
|
.metric-chart .chart-axis {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
font:
|
font:
|
||||||
10px ui-monospace,
|
11px ui-monospace,
|
||||||
monospace;
|
monospace;
|
||||||
color: var(--color-muted);
|
color: var(--color-muted);
|
||||||
}
|
}
|
||||||
.chart-scale {
|
.metric-chart .chart-scale {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
color: var(--color-muted);
|
color: var(--color-muted);
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
}
|
}
|
||||||
.chart-legend {
|
.metric-chart .chart-legend {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 8px 14px;
|
gap: 8px 14px;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
font-size: 11px;
|
font-size: 12px;
|
||||||
color: var(--color-muted);
|
color: var(--color-muted);
|
||||||
}
|
}
|
||||||
.chart-legend > span {
|
.metric-chart .chart-legend > span {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
}
|
}
|
||||||
.chart-legend i {
|
.metric-chart .chart-legend i {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: var(--series-color);
|
background: var(--series-color);
|
||||||
}
|
}
|
||||||
.chart-data {
|
.metric-chart .chart-data {
|
||||||
margin-top: 14px;
|
margin-top: 14px;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
.chart-data summary {
|
.metric-chart .chart-data summary {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: var(--color-muted);
|
color: var(--color-muted);
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.chart-data table {
|
.metric-chart .chart-data table {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
@@ -648,22 +649,22 @@
|
|||||||
.metric-chart .chart-tooltip strong {
|
.metric-chart .chart-tooltip strong {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
.chart-round {
|
.metric-chart .chart-round {
|
||||||
max-width: 280px;
|
max-width: 280px;
|
||||||
height: 180px;
|
height: 180px;
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
}
|
}
|
||||||
.chart-ring-track {
|
.metric-chart .chart-ring-track {
|
||||||
fill: none;
|
fill: none;
|
||||||
stroke: var(--color-border);
|
stroke: var(--color-border);
|
||||||
stroke-width: 20;
|
stroke-width: 20;
|
||||||
}
|
}
|
||||||
.chart-ring {
|
.metric-chart .chart-ring {
|
||||||
fill: none;
|
fill: none;
|
||||||
stroke: var(--series-color);
|
stroke: var(--series-color);
|
||||||
stroke-width: 20;
|
stroke-width: 20;
|
||||||
}
|
}
|
||||||
.chart-center {
|
.metric-chart .chart-center {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -672,15 +673,15 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
.chart-center strong {
|
.metric-chart .chart-center strong {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
.chart-center span {
|
.metric-chart .chart-center span {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
color: var(--color-muted);
|
color: var(--color-muted);
|
||||||
}
|
}
|
||||||
.chart-empty {
|
.metric-chart .chart-empty {
|
||||||
min-height: 180px;
|
min-height: 180px;
|
||||||
display: grid;
|
display: grid;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ export async function exportSystem(
|
|||||||
};
|
};
|
||||||
const files = {};
|
const files = {};
|
||||||
const paths = [
|
const paths = [
|
||||||
|
"index.html",
|
||||||
"icons/icons.js",
|
"icons/icons.js",
|
||||||
"icons/index.html",
|
"icons/index.html",
|
||||||
"icons/catalog.css",
|
"icons/catalog.css",
|
||||||
@@ -199,6 +200,8 @@ export async function exportSystem(
|
|||||||
);
|
);
|
||||||
files[`tokens/${theme}.json`] = JSON.stringify(tokens, null, 2);
|
files[`tokens/${theme}.json`] = JSON.stringify(tokens, null, 2);
|
||||||
files[`tokens/${theme}.css`] = `:root {\n${cssVars(tokens)}\n}\n`;
|
files[`tokens/${theme}.css`] = `:root {\n${cssVars(tokens)}\n}\n`;
|
||||||
|
files[`tokens/dock/${theme}.css`] = files[`tokens/${theme}.css`];
|
||||||
|
files[`tokens/dock/${theme}.json`] = files[`tokens/${theme}.json`];
|
||||||
}
|
}
|
||||||
files["selection.json"] = JSON.stringify(
|
files["selection.json"] = JSON.stringify(
|
||||||
{
|
{
|
||||||
@@ -223,10 +226,12 @@ export async function exportSystem(
|
|||||||
locale: state.locale,
|
locale: state.locale,
|
||||||
});
|
});
|
||||||
if (state.accents[c.id]) exportParams.set("accent", state.accents[c.id]);
|
if (state.accents[c.id]) exportParams.set("accent", state.accents[c.id]);
|
||||||
files["index.html"] =
|
files["index.html"] = files["index.html"].replace(
|
||||||
`<!doctype html><meta charset="utf-8"><title>Anidev ${c.name}</title><script>location.replace('playground/frame.html?${exportParams}')<\/script>`;
|
"</head>",
|
||||||
|
`<script>const url=new URL(location.href);const defaults=new URLSearchParams(${JSON.stringify(exportParams.toString())});for(const [key,value] of defaults)if(!url.searchParams.has(key))url.searchParams.set(key,value);history.replaceState(null,"",url);<\/script></head>`,
|
||||||
|
);
|
||||||
files["README.md"] =
|
files["README.md"] =
|
||||||
`# Anidev / ${c.name}\nApproved Dock design — gallery snapshot, version 0.2.0.\nServe this folder over HTTP (for example python -m http.server 8080).\nOpen index.html.\nUse tokens/light.css or tokens/dark.css and components/system.css in any framework.\nFor the separate integration package and installable Skill, run npm run build:package in the source repository; this snapshot does not contain its build tools.\nThird-party terminal licenses are in vendor/xterm.\n`;
|
`# Anidev / ${c.name}\nApproved Dock design — gallery snapshot, version 0.2.0. Scope 1.0 approved; release pending manual review.\nServe this folder over HTTP (for example python -m http.server 8080).\nOpen index.html.\nUse tokens/light.css or tokens/dark.css and components/system.css in any framework.\nFor the separate integration package and installable Skill, run npm run build:package in the source repository; this snapshot does not contain its build tools.\nThird-party licenses are in vendor/xterm and vendor/text. Server metrics, documents and Identity data are demonstrations; no real API or SSH transport is connected.\n`;
|
||||||
const url = URL.createObjectURL(zip(files)),
|
const url = URL.createObjectURL(zip(files)),
|
||||||
a = document.createElement("a");
|
a = document.createElement("a");
|
||||||
a.href = url;
|
a.href = url;
|
||||||
|
|||||||
@@ -103,20 +103,24 @@ export function mountStatistics(
|
|||||||
t,
|
t,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
const number = new Intl.NumberFormat(t("ru-RU", "en-US"), {
|
||||||
|
minimumFractionDigits: 1,
|
||||||
|
maximumFractionDigits: 1,
|
||||||
|
});
|
||||||
const kpis = {
|
const kpis = {
|
||||||
cpu: {
|
cpu: {
|
||||||
label: t("CPU сейчас", "CPU now"),
|
label: t("CPU сейчас", "CPU now"),
|
||||||
value: `${last(next.cpu).toFixed(1)} %`,
|
value: `${number.format(last(next.cpu))} %`,
|
||||||
values: next.cpu,
|
values: next.cpu,
|
||||||
},
|
},
|
||||||
memory: {
|
memory: {
|
||||||
label: t("Память сейчас", "Memory now"),
|
label: t("Память сейчас", "Memory now"),
|
||||||
value: `${last(next.memory).toFixed(1)} / ${next.memoryTotal || 16} ${t("ГБ", "GB")}`,
|
value: `${number.format(last(next.memory))} / ${next.memoryTotal || 16} ${t("ГБ", "GB")}`,
|
||||||
values: next.memory,
|
values: next.memory,
|
||||||
},
|
},
|
||||||
network: {
|
network: {
|
||||||
label: t("Входящий трафик", "Inbound traffic"),
|
label: t("Входящий трафик", "Inbound traffic"),
|
||||||
value: `${last(next.networkIn).toFixed(1)} ${t("МБ/с", "MB/s")}`,
|
value: `${number.format(last(next.networkIn))} ${t("МБ/с", "MB/s")}`,
|
||||||
values: next.networkIn,
|
values: next.networkIn,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Документы, редактор и статистика
|
# Документы, редактор и статистика
|
||||||
|
|
||||||
Предварительное расширение состава 1.0. Добавлено 02.12.2026; проверки отложены до утверждения пользователем. Данные галереи и starter — примеры, API сервера пока нет.
|
Состав 1.0 утверждён 02.12.2026; выполняется итоговая проверка, выпуск ожидает ручного просмотра. Данные галереи и starter — примеры, API сервера пока нет.
|
||||||
|
|
||||||
## Подключение
|
## Подключение
|
||||||
|
|
||||||
|
|||||||
@@ -56,3 +56,7 @@ node scripts/install-skill.mjs --project /absolute/path/to/project
|
|||||||
Зафиксируйте версию пакета и `manifest.json` в проекте. Список SHA-256 позволяет проверить содержимое поставки. Обновляйте пакет и ресурсы Skill совместно из одной сборки; не подтягивайте main автоматически. Сравните API, changelog и свой проект перед заменой. До 1.0 возможны изменения API; после 1.0 несовместимые изменения требуют новой major-версии.
|
Зафиксируйте версию пакета и `manifest.json` в проекте. Список SHA-256 позволяет проверить содержимое поставки. Обновляйте пакет и ресурсы Skill совместно из одной сборки; не подтягивайте main автоматически. Сравните API, changelog и свой проект перед заменой. До 1.0 возможны изменения API; после 1.0 несовместимые изменения требуют новой major-версии.
|
||||||
|
|
||||||
Поддержка 1.0 ещё не заявлена: Edge проверяется автоматически, Firefox/Safari и ручная проверка скринридером остаются в плане приёмки. Нужны native dialog, Popover API, inert, :has(), color-mix() и scrollbar-gutter. Лицензионный статус — [NOTICE.md](../NOTICE.md); внешняя публикация отключена.
|
Поддержка 1.0 ещё не заявлена: Edge проверяется автоматически, Firefox/Safari и ручная проверка скринридером остаются в плане приёмки. Нужны native dialog, Popover API, inert, :has(), color-mix() и scrollbar-gutter. Лицензионный статус — [NOTICE.md](../NOTICE.md); внешняя публикация отключена.
|
||||||
|
|
||||||
|
## Состояние подготовки 1.0
|
||||||
|
|
||||||
|
[Состав 1.0](SCOPE-1.0.md) утверждён 02.12.2026. Выпуск ожидает ручного просмотра; текущая техническая версия — 0.2.0 integration-preview. Компоненты Markdown, редактора, графиков, мини-логов и хлебных крошек описаны в [CONTENT-WORKSPACES.md](CONTENT-WORKSPACES.md). Серверные показатели и документы starter демонстрационные; runtime не требует CDN.
|
||||||
@@ -36,7 +36,7 @@ id — стабильный идентификатор модуля; label —
|
|||||||
|
|
||||||
## Данные экрана
|
## Данные экрана
|
||||||
|
|
||||||
Starter знает локальные модули overview/projects/logs и запрашивает `GET pages/{id}.json` с простым примером:
|
Starter знает модули overview/projects/logs и запрашивает `GET pages/{id}.json` с простым примером:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@@ -53,3 +53,5 @@ Starter знает локальные модули overview/projects/logs и з
|
|||||||
Начальный вариант — браузер делает запросы напрямую. Можно раздавать панель отдельно, а `/api` проксировать на backend под тем же origin: это упрощает cookies и конфигурацию CORS. При разных origin backend явно разрешает origin панели; cookie/token-политика определяется реальной схемой SSO. В starter `credentials: same-origin`, реальной авторизации нет. Не встраивайте приватные API-ключи в JS или конфигурацию фронтенда.
|
Начальный вариант — браузер делает запросы напрямую. Можно раздавать панель отдельно, а `/api` проксировать на backend под тем же origin: это упрощает cookies и конфигурацию CORS. При разных origin backend явно разрешает origin панели; cookie/token-политика определяется реальной схемой SSO. В starter `credentials: same-origin`, реальной авторизации нет. Не встраивайте приватные API-ключи в JS или конфигурацию фронтенда.
|
||||||
|
|
||||||
Слой BFF/SSR стоит добавлять, когда нужно держать секреты вне браузера, объединять сервисы или формировать данные до отдачи страницы. Его наличие не меняет Dock и контракт конфигурации. Это решение развёртывания продукта, а не обязательная зависимость дизайн-системы.
|
Слой BFF/SSR стоит добавлять, когда нужно держать секреты вне браузера, объединять сервисы или формировать данные до отдачи страницы. Его наличие не меняет Dock и контракт конфигурации. Это решение развёртывания продукта, а не обязательная зависимость дизайн-системы.
|
||||||
|
|
||||||
|
Дополнительные локальные демомодули: `documents`, `statistics`, родительские страницы `servers`/`server`. Они используют локальные примеры вместо GET pages/{id}.json; форматы содержимого и путь подключения будущего API описаны в [CONTENT-WORKSPACES.md](CONTENT-WORKSPACES.md). Наличие id в меню само по себе не создаёт новый экран: приложение должно зарегистрировать обработчик маршрута.
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# Утверждённый состав 1.0
|
||||||
|
|
||||||
|
Пользователь утвердил состав 02.12.2026. Выпуск, публикация и тег 1.0 пока не разрешены: сначала итоговая проверка, затем ручной просмотр пользователем и его правки. Техническая версия остаётся 0.2.0 integration-preview.
|
||||||
|
|
||||||
|
- Один Dock, светлая/тёмная темы, компактная плотность, раскрытие поверх содержимого; на мобильных четыре нижних действия: текущий/предыдущий раздел, полное меню, аккаунт.
|
||||||
|
- Динамическое меню разделов и групп; разные пользовательский/административный контексты. Аккаунт и личные настройки доступны после входа независимо от серверного меню. Без подтверждённой сессии Dock отсутствует.
|
||||||
|
- Управление аккаунтом, безопасность, устройства и сеансы, настройки; боковое подменю аккаунта и компактное переключение темы.
|
||||||
|
- Вход, загрузка, пустое состояние, offline, ошибки доступа/HTTP, блокировка аккаунта с причиной.
|
||||||
|
- Кнопки, поля, select с поиском, копирование иконкой, чекбоксы/радио в горизонтальных и вертикальных группах, переключатели, таблицы и списки.
|
||||||
|
- Модальные окна, drawer, контекстное меню, dropdown, подсказки, тосты с уровнями, индикаторы статусов, command palette.
|
||||||
|
- SVG-иконки общего назначения, клавиатуры и платформ; единая сетка 24 px и толщина 1.5 px.
|
||||||
|
- SSH-терминал с чёрным фоном, обработкой сочетаний клавиш и явным выходом из захвата; полный log-reader с поиском/фильтрами и мини-логи с цветом строки по уровню.
|
||||||
|
- Markdown с очисткой HTML, минимальный редактор с подсветкой/номерами строк, локальное открытие и скачивание; виртуальные папки и кликабельные хлебные крошки.
|
||||||
|
- Line, area, bar, stacked, donut, gauge, sparkline; значения при наведении/с клавиатуры, числовые таблицы. Шаблон серверной статистики: CPU, память, сеть, диски, HTTP, 5xx, распределение места и последние события.
|
||||||
|
- Переносимый HTML/CSS/ESM-пакет, отдельный starter, Skill с ресурсами, экспорт галереи и документация будущей API-интеграции.
|
||||||
|
|
||||||
|
Реальный backend, SSO, почта, WebAuthn, SSH-транспорт и поток серверных метрик не входят в этот этап. Примеры используют fixtures и демоадаптеры. Markdown-редактор не сохраняет файлы на сервер; данные черновиков живут в текущей вкладке. API-контракт описывает границу подключения будущего backend, а не работающие endpoints.
|
||||||
|
|
||||||
|
Расширение состава после этого списка согласуется отдельно. Исправления единообразия, ошибок и переносимости входят в доведение текущего состава до 1.0.
|
||||||
@@ -574,6 +574,11 @@ async function loadAccount() {
|
|||||||
(data.banReason != null && typeof data.banReason !== "string")
|
(data.banReason != null && typeof data.banReason !== "string")
|
||||||
)
|
)
|
||||||
throw Error("Invalid account response");
|
throw Error("Invalid account response");
|
||||||
|
if (identity?.id !== data.id) {
|
||||||
|
documentFiles.clear();
|
||||||
|
for (const [path, file] of createDemoDocuments())
|
||||||
|
documentFiles.set(path, file);
|
||||||
|
}
|
||||||
identity = { ...data, panel: data.panel || "user" };
|
identity = { ...data, panel: data.panel || "user" };
|
||||||
accountError = null;
|
accountError = null;
|
||||||
accountMenu.update(data);
|
accountMenu.update(data);
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
# Anidev Dock Icons
|
# Anidev Dock Icons
|
||||||
|
|
||||||
64 линейные SVG-иконки для интерфейсов Anidev: навигация, аккаунт, безопасность, действия, файлы, система, состояния и направления. Нарисованы в исходном коде; внешние библиотеки, шрифты и растровые изображения не используются.
|
76 линейные SVG-иконки для интерфейсов Anidev: навигация, аккаунт, безопасность, действия, файлы, система, состояния и направления. Нарисованы в исходном коде; внешние библиотеки, шрифты и растровые изображения не используются.
|
||||||
|
|
||||||
Сетка 24×24, толщина 1.5px, круглые окончания и соединения, основной контур в пределах 2–22px. Размеры: 16, 20, 24, 32 и 48px; основное применение в Dock — 24px. Цвет задаётся через `currentColor`. Для другого визуального веса меняйте stroke-width согласованно у всего набора.
|
Сетка 24×24, толщина 1.5px, круглые окончания и соединения, основной контур в пределах 2–22px. Размеры: 16, 20, 24, 32 и 48px; основное применение в Dock — 24px. Цвет задаётся через `currentColor`. Для другого визуального веса меняйте stroke-width согласованно у всего набора.
|
||||||
|
|
||||||
## Форматы
|
## Форматы
|
||||||
|
|
||||||
- `svg/` — 64 самостоятельных SVG с доступными названиями.
|
- `svg/` — 76 самостоятельных SVG с доступными названиями.
|
||||||
- `sprite.svg` — SVG symbols с идентификаторами из manifest.json.
|
- `sprite.svg` — SVG symbols с идентификаторами из manifest.json.
|
||||||
- `icons.js` — единый источник рисунков и функция iconSvg.
|
- `icons.js` — единый источник рисунков и функция iconSvg.
|
||||||
- `preview-light.svg`, `preview-dark.svg` — обзорные листы.
|
- `preview-light.svg`, `preview-dark.svg` — обзорные листы.
|
||||||
@@ -39,3 +39,5 @@ python scripts/package-icons.py
|
|||||||
```
|
```
|
||||||
|
|
||||||
Редактируйте только icons.js; остальные рисунки генерируются из него.
|
Редактируйте только icons.js; остальные рисунки генерируются из него.
|
||||||
|
|
||||||
|
Клавиатура и платформы: Ctrl, Alt, Shift, Enter, Esc, Tab, Backspace, Home, End, клавиатура, Windows/Super и Linux. `command` сохранён для macOS; в общих интерфейсах используйте нейтральную `keyboard` и подписывайте сочетания под платформу.
|
||||||
@@ -4,6 +4,7 @@ import { tokensFor, cssVars } from "../concepts/registry.js";
|
|||||||
const $ = (s) => document.querySelector(s);
|
const $ = (s) => document.querySelector(s);
|
||||||
const categories = {
|
const categories = {
|
||||||
navigation: "Навигация",
|
navigation: "Навигация",
|
||||||
|
keyboard: "Клавиатура и платформы",
|
||||||
account: "Аккаунт",
|
account: "Аккаунт",
|
||||||
security: "Безопасность",
|
security: "Безопасность",
|
||||||
actions: "Действия",
|
actions: "Действия",
|
||||||
|
|||||||
@@ -25,6 +25,50 @@ const groups = {
|
|||||||
"chevron-left": ["Предыдущий", '<path d="m14.5 5-7 7 7 7"/>'],
|
"chevron-left": ["Предыдущий", '<path d="m14.5 5-7 7 7 7"/>'],
|
||||||
"chevron-right": ["Следующий", '<path d="m9.5 5 7 7-7 7"/>'],
|
"chevron-right": ["Следующий", '<path d="m9.5 5 7 7-7 7"/>'],
|
||||||
},
|
},
|
||||||
|
keyboard: {
|
||||||
|
keyboard: [
|
||||||
|
"Клавиатура",
|
||||||
|
'<rect x="2.5" y="5" width="19" height="14" rx="2"/><path d="M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 12h.01M10 12h.01M14 12h.01M18 12h.01M7 15.5h10"/>',
|
||||||
|
],
|
||||||
|
"key-control": [
|
||||||
|
"Control / Ctrl",
|
||||||
|
'<rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Ctrl</text>',
|
||||||
|
],
|
||||||
|
"key-alt": [
|
||||||
|
"Alt",
|
||||||
|
'<rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Alt</text>',
|
||||||
|
],
|
||||||
|
"key-shift": ["Shift", '<path d="m12 3 9 9h-5v9H8v-9H3Z"/>'],
|
||||||
|
"key-enter": ["Enter", '<path d="M20 5v8H4m5-5-5 5 5 5"/>'],
|
||||||
|
"key-escape": [
|
||||||
|
"Escape / Esc",
|
||||||
|
'<rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Esc</text>',
|
||||||
|
],
|
||||||
|
"key-tab": [
|
||||||
|
"Tab",
|
||||||
|
'<path d="M3 7h17m-4-4 4 4-4 4M21 3v8M21 17H4m4-4-4 4 4 4M3 13v8"/>',
|
||||||
|
],
|
||||||
|
"key-backspace": [
|
||||||
|
"Backspace",
|
||||||
|
'<path d="m9 5-7 7 7 7h12V5ZM12 9l6 6m0-6-6 6"/>',
|
||||||
|
],
|
||||||
|
"key-home": [
|
||||||
|
"Home",
|
||||||
|
'<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M7 7h10M12 17V9m-4 4 4-4 4 4"/>',
|
||||||
|
],
|
||||||
|
"key-end": [
|
||||||
|
"End",
|
||||||
|
'<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M7 17h10M12 7v8m-4-4 4 4 4-4"/>',
|
||||||
|
],
|
||||||
|
windows: [
|
||||||
|
"Windows / Super",
|
||||||
|
'<path d="m3 5 8-1v7H3ZM13 3.7l8-1.2V11h-8ZM3 13h8v7l-8-1ZM13 13h8v8.5l-8-1.2Z"/>',
|
||||||
|
],
|
||||||
|
linux: [
|
||||||
|
"Linux",
|
||||||
|
'<path d="M8 9V6a4 4 0 0 1 8 0v3c1 2 3 4 3 7a7 5 0 0 1-14 0c0-3 2-5 3-7Z"/><ellipse cx="12" cy="15" rx="4" ry="5"/><path d="m10 8 2 1 2-1M5 18l-2 3h6m10-3 2 3h-6"/><path d="M10.5 5.5v.01m3-.01v.01"/>',
|
||||||
|
],
|
||||||
|
},
|
||||||
account: {
|
account: {
|
||||||
profile: [
|
profile: [
|
||||||
"Аккаунт",
|
"Аккаунт",
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<p class="eyebrow">ANIDEV / DESIGN SYSTEM</p>
|
<p class="eyebrow">ANIDEV / DESIGN SYSTEM</p>
|
||||||
<h1>Dock Icons</h1>
|
<h1>Dock Icons</h1>
|
||||||
<p>64 иконки. Одна сетка, единый контур, обе темы.</p>
|
<p>76 иконок. Одна сетка, единый контур, обе темы.</p>
|
||||||
</div>
|
</div>
|
||||||
<a class="download-pack" href="anidev-dock-icons.zip" download
|
<a class="download-pack" href="anidev-dock-icons.zip" download
|
||||||
>Скачать SVG-пак ↓</a
|
>Скачать SVG-пак ↓</a
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
>
|
>
|
||||||
</form>
|
</form>
|
||||||
<div class="library-caption">
|
<div class="library-caption">
|
||||||
<span id="count" role="status">64 иконки</span
|
<span id="count" role="status">76 иконок</span
|
||||||
><span>Нажмите на иконку, чтобы скопировать SVG</span>
|
><span>Нажмите на иконку, чтобы скопировать SVG</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="icon-grid" class="icon-grid"></div>
|
<div id="icon-grid" class="icon-grid"></div>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"grid": 24,
|
"grid": 24,
|
||||||
"stroke": 1.5,
|
"stroke": 1.5,
|
||||||
"count": 64,
|
"count": 76,
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"name": "dashboard",
|
"name": "dashboard",
|
||||||
@@ -53,6 +53,78 @@
|
|||||||
"category": "navigation",
|
"category": "navigation",
|
||||||
"file": "svg/chevron-right.svg"
|
"file": "svg/chevron-right.svg"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "keyboard",
|
||||||
|
"label": "Клавиатура",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/keyboard.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-control",
|
||||||
|
"label": "Control / Ctrl",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-control.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-alt",
|
||||||
|
"label": "Alt",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-alt.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-shift",
|
||||||
|
"label": "Shift",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-shift.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-enter",
|
||||||
|
"label": "Enter",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-enter.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-escape",
|
||||||
|
"label": "Escape / Esc",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-escape.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-tab",
|
||||||
|
"label": "Tab",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-tab.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-backspace",
|
||||||
|
"label": "Backspace",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-backspace.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-home",
|
||||||
|
"label": "Home",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-home.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key-end",
|
||||||
|
"label": "End",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/key-end.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows",
|
||||||
|
"label": "Windows / Super",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/windows.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux",
|
||||||
|
"label": "Linux",
|
||||||
|
"category": "keyboard",
|
||||||
|
"file": "svg/linux.svg"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "profile",
|
"name": "profile",
|
||||||
"label": "Аккаунт",
|
"label": "Аккаунт",
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="960" height="1140" viewBox="0 0 960 1140"><rect width="960" height="1140" fill="#111f26"/><g font-family="Trebuchet MS,Arial,sans-serif"><text x="56" y="66" font-size="25" font-weight="bold" fill="#77cbbb">a/</text><text x="56" y="110" font-size="32" font-weight="bold" fill="#e3f2f3">Dock Icons</text><text x="904" y="108" text-anchor="end" font-size="13" fill="#a5bec5">64 SVG · 24 px · 1.5 px stroke</text><path d="M56 136H904" stroke="#3b535c"/><text x="56" y="178" fill="#a5bec5" font-size="12">Навигация</text><svg x="91" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="1.5"/><rect x="14" y="3" width="7" height="7" rx="1.5"/><rect x="3" y="14" width="7" height="7" rx="1.5"/><rect x="14" y="14" width="7" height="7" rx="1.5"/></svg><text x="107" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">dashboard</text><svg x="197" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="2.5"/><rect x="14" y="3" width="7" height="7" rx="2.5"/><rect x="3" y="14" width="7" height="7" rx="2.5"/><rect x="14" y="14" width="7" height="7" rx="2.5"/></svg><text x="213" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">applications</text><svg x="303" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2.5"/><path d="M3 9h18M9 9v12"/></svg><text x="319" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">components</text><svg x="409" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m15.2 15.2 5.3 5.3"/></svg><text x="425" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">search</text><svg x="515" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 8H5.5A2.5 2.5 0 1 1 8 5.5V18.5A2.5 2.5 0 1 1 5.5 16H18.5a2.5 2.5 0 1 1-2.5 2.5V5.5A2.5 2.5 0 1 1 18.5 8H8Z"/></svg><text x="531" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">command</text><svg x="621" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h16M4 12h16M4 18h16"/></svg><text x="637" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">menu</text><svg x="727" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m14.5 5-7 7 7 7"/></svg><text x="743" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">chevron-left</text><svg x="833" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9.5 5 7 7-7 7"/></svg><text x="849" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">chevron-right</text><path d="M56 274H904" stroke="#3b535c"/><text x="56" y="296" fill="#a5bec5" font-size="12">Аккаунт</text><svg x="91" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="7.5" r="3.5"/><path d="M4.5 21v-2a7.5 7.5 0 0 1 15 0v2"/></svg><text x="107" y="372" text-anchor="middle" fill="#a5bec5" font-size="10">profile</text><svg x="197" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="8.5" cy="8" r="3"/><path d="M2.5 20v-1a6 6 0 0 1 12 0v1M16 5.2a3 3 0 0 1 0 5.6M17 14a5 5 0 0 1 4.5 5v1"/></svg><text x="213" y="372" text-anchor="middle" fill="#a5bec5" font-size="10">users</text><svg x="303" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="16" rx="2.5"/><circle cx="8" cy="9.5" r="2"/><path d="M5 16a3 3 0 0 1 6 0M14 9h4M14 13h4M14 16h2"/></svg><text x="319" y="372" text-anchor="middle" fill="#a5bec5" font-size="10">identity</text><svg x="409" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="7.5" r="3.5"/><path d="M2.5 21v-2a6.5 6.5 0 0 1 13 0v2M19 9v6M16 12h6"/></svg><text x="425" y="372" text-anchor="middle" fill="#a5bec5" font-size="10">user-add</text><svg x="515" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-Line truncated
|
<svg xmlns="http://www.w3.org/2000/svg" width="960" height="1506" viewBox="0 0 960 1506"><rect width="960" height="1506" fill="#111f26"/><g font-family="Trebuchet MS,Arial,sans-serif"><text x="56" y="66" font-size="25" font-weight="bold" fill="#77cbbb">a/</text><text x="56" y="110" font-size="32" font-weight="bold" fill="#e3f2f3">Dock Icons</text><text x="904" y="108" text-anchor="end" font-size="13" fill="#a5bec5">76 SVG · 24 px · 1.5 px stroke</text><path d="M56 136H904" stroke="#3b535c"/><text x="56" y="178" fill="#a5bec5" font-size="12">Навигация</text><svg x="91" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="1.5"/><rect x="14" y="3" width="7" height="7" rx="1.5"/><rect x="3" y="14" width="7" height="7" rx="1.5"/><rect x="14" y="14" width="7" height="7" rx="1.5"/></svg><text x="107" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">dashboard</text><svg x="197" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="2.5"/><rect x="14" y="3" width="7" height="7" rx="2.5"/><rect x="3" y="14" width="7" height="7" rx="2.5"/><rect x="14" y="14" width="7" height="7" rx="2.5"/></svg><text x="213" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">applications</text><svg x="303" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2.5"/><path d="M3 9h18M9 9v12"/></svg><text x="319" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">components</text><svg x="409" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m15.2 15.2 5.3 5.3"/></svg><text x="425" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">search</text><svg x="515" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 8H5.5A2.5 2.5 0 1 1 8 5.5V18.5A2.5 2.5 0 1 1 5.5 16H18.5a2.5 2.5 0 1 1-2.5 2.5V5.5A2.5 2.5 0 1 1 18.5 8H8Z"/></svg><text x="531" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">command</text><svg x="621" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h16M4 12h16M4 18h16"/></svg><text x="637" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">menu</text><svg x="727" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m14.5 5-7 7 7 7"/></svg><text x="743" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">chevron-left</text><svg x="833" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9.5 5 7 7-7 7"/></svg><text x="849" y="254" text-anchor="middle" fill="#a5bec5" font-size="10">chevron-right</text><path d="M56 292H904" stroke="#3b535c"/><text x="56" y="310" fill="#a5bec5" font-size="12">Клавиатура и платформы</text><svg x="91" y="328" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><path d="M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 12h.01M10 12h.01M14 12h.01M18 12h.01M7 15.5h10"/></svg><text x="107" y="386" text-anchor="middle" fill="#a5bec5" font-size="10">keyboard</text><svg x="197" y="328" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Ctrl</text></svg><text x="213" y="386" text-anchor="middle" fill="#a5bec5" font-size="10">key-control</text><svg x="303" y="328" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Alt</text></svg><text x="319" y="386" text-anchor="middle" fill="#a5bec5" font-size="10">key-alt</text><svg x="409" y="328" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#e3f2f3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12 3 9 9h-5v9H8v-9H3ZLine truncated
|
||||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 27 KiB |
@@ -1 +1 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="960" height="1140" viewBox="0 0 960 1140"><rect width="960" height="1140" fill="#edf3f3"/><g font-family="Trebuchet MS,Arial,sans-serif"><text x="56" y="66" font-size="25" font-weight="bold" fill="#12616a">a/</text><text x="56" y="110" font-size="32" font-weight="bold" fill="#173239">Dock Icons</text><text x="904" y="108" text-anchor="end" font-size="13" fill="#4c666d">64 SVG · 24 px · 1.5 px stroke</text><path d="M56 136H904" stroke="#c6d7da"/><text x="56" y="178" fill="#4c666d" font-size="12">Навигация</text><svg x="91" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="1.5"/><rect x="14" y="3" width="7" height="7" rx="1.5"/><rect x="3" y="14" width="7" height="7" rx="1.5"/><rect x="14" y="14" width="7" height="7" rx="1.5"/></svg><text x="107" y="254" text-anchor="middle" fill="#4c666d" font-size="10">dashboard</text><svg x="197" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="2.5"/><rect x="14" y="3" width="7" height="7" rx="2.5"/><rect x="3" y="14" width="7" height="7" rx="2.5"/><rect x="14" y="14" width="7" height="7" rx="2.5"/></svg><text x="213" y="254" text-anchor="middle" fill="#4c666d" font-size="10">applications</text><svg x="303" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2.5"/><path d="M3 9h18M9 9v12"/></svg><text x="319" y="254" text-anchor="middle" fill="#4c666d" font-size="10">components</text><svg x="409" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m15.2 15.2 5.3 5.3"/></svg><text x="425" y="254" text-anchor="middle" fill="#4c666d" font-size="10">search</text><svg x="515" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 8H5.5A2.5 2.5 0 1 1 8 5.5V18.5A2.5 2.5 0 1 1 5.5 16H18.5a2.5 2.5 0 1 1-2.5 2.5V5.5A2.5 2.5 0 1 1 18.5 8H8Z"/></svg><text x="531" y="254" text-anchor="middle" fill="#4c666d" font-size="10">command</text><svg x="621" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h16M4 12h16M4 18h16"/></svg><text x="637" y="254" text-anchor="middle" fill="#4c666d" font-size="10">menu</text><svg x="727" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m14.5 5-7 7 7 7"/></svg><text x="743" y="254" text-anchor="middle" fill="#4c666d" font-size="10">chevron-left</text><svg x="833" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9.5 5 7 7-7 7"/></svg><text x="849" y="254" text-anchor="middle" fill="#4c666d" font-size="10">chevron-right</text><path d="M56 274H904" stroke="#c6d7da"/><text x="56" y="296" fill="#4c666d" font-size="12">Аккаунт</text><svg x="91" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="7.5" r="3.5"/><path d="M4.5 21v-2a7.5 7.5 0 0 1 15 0v2"/></svg><text x="107" y="372" text-anchor="middle" fill="#4c666d" font-size="10">profile</text><svg x="197" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="8.5" cy="8" r="3"/><path d="M2.5 20v-1a6 6 0 0 1 12 0v1M16 5.2a3 3 0 0 1 0 5.6M17 14a5 5 0 0 1 4.5 5v1"/></svg><text x="213" y="372" text-anchor="middle" fill="#4c666d" font-size="10">users</text><svg x="303" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="16" rx="2.5"/><circle cx="8" cy="9.5" r="2"/><path d="M5 16a3 3 0 0 1 6 0M14 9h4M14 13h4M14 16h2"/></svg><text x="319" y="372" text-anchor="middle" fill="#4c666d" font-size="10">identity</text><svg x="409" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="7.5" r="3.5"/><path d="M2.5 21v-2a6.5 6.5 0 0 1 13 0v2M19 9v6M16 12h6"/></svg><text x="425" y="372" text-anchor="middle" fill="#4c666d" font-size="10">user-add</text><svg x="515" y="314" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-Line truncated
|
<svg xmlns="http://www.w3.org/2000/svg" width="960" height="1506" viewBox="0 0 960 1506"><rect width="960" height="1506" fill="#edf3f3"/><g font-family="Trebuchet MS,Arial,sans-serif"><text x="56" y="66" font-size="25" font-weight="bold" fill="#12616a">a/</text><text x="56" y="110" font-size="32" font-weight="bold" fill="#173239">Dock Icons</text><text x="904" y="108" text-anchor="end" font-size="13" fill="#4c666d">76 SVG · 24 px · 1.5 px stroke</text><path d="M56 136H904" stroke="#c6d7da"/><text x="56" y="178" fill="#4c666d" font-size="12">Навигация</text><svg x="91" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="1.5"/><rect x="14" y="3" width="7" height="7" rx="1.5"/><rect x="3" y="14" width="7" height="7" rx="1.5"/><rect x="14" y="14" width="7" height="7" rx="1.5"/></svg><text x="107" y="254" text-anchor="middle" fill="#4c666d" font-size="10">dashboard</text><svg x="197" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="2.5"/><rect x="14" y="3" width="7" height="7" rx="2.5"/><rect x="3" y="14" width="7" height="7" rx="2.5"/><rect x="14" y="14" width="7" height="7" rx="2.5"/></svg><text x="213" y="254" text-anchor="middle" fill="#4c666d" font-size="10">applications</text><svg x="303" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2.5"/><path d="M3 9h18M9 9v12"/></svg><text x="319" y="254" text-anchor="middle" fill="#4c666d" font-size="10">components</text><svg x="409" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m15.2 15.2 5.3 5.3"/></svg><text x="425" y="254" text-anchor="middle" fill="#4c666d" font-size="10">search</text><svg x="515" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 8H5.5A2.5 2.5 0 1 1 8 5.5V18.5A2.5 2.5 0 1 1 5.5 16H18.5a2.5 2.5 0 1 1-2.5 2.5V5.5A2.5 2.5 0 1 1 18.5 8H8Z"/></svg><text x="531" y="254" text-anchor="middle" fill="#4c666d" font-size="10">command</text><svg x="621" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h16M4 12h16M4 18h16"/></svg><text x="637" y="254" text-anchor="middle" fill="#4c666d" font-size="10">menu</text><svg x="727" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m14.5 5-7 7 7 7"/></svg><text x="743" y="254" text-anchor="middle" fill="#4c666d" font-size="10">chevron-left</text><svg x="833" y="196" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9.5 5 7 7-7 7"/></svg><text x="849" y="254" text-anchor="middle" fill="#4c666d" font-size="10">chevron-right</text><path d="M56 292H904" stroke="#c6d7da"/><text x="56" y="310" fill="#4c666d" font-size="12">Клавиатура и платформы</text><svg x="91" y="328" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><path d="M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 12h.01M10 12h.01M14 12h.01M18 12h.01M7 15.5h10"/></svg><text x="107" y="386" text-anchor="middle" fill="#4c666d" font-size="10">keyboard</text><svg x="197" y="328" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Ctrl</text></svg><text x="213" y="386" text-anchor="middle" fill="#4c666d" font-size="10">key-control</text><svg x="303" y="328" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Alt</text></svg><text x="319" y="386" text-anchor="middle" fill="#4c666d" font-size="10">key-alt</text><svg x="409" y="328" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#173239" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12 3 9 9h-5v9H8v-9H3ZLine truncated
|
||||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 27 KiB |
@@ -1 +1 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg"><symbol id="dashboard" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="1.5"/><rect x="14" y="3" width="7" height="7" rx="1.5"/><rect x="3" y="14" width="7" height="7" rx="1.5"/><rect x="14" y="14" width="7" height="7" rx="1.5"/></symbol><symbol id="applications" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="2.5"/><rect x="14" y="3" width="7" height="7" rx="2.5"/><rect x="3" y="14" width="7" height="7" rx="2.5"/><rect x="14" y="14" width="7" height="7" rx="2.5"/></symbol><symbol id="components" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2.5"/><path d="M3 9h18M9 9v12"/></symbol><symbol id="search" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m15.2 15.2 5.3 5.3"/></symbol><symbol id="command" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 8H5.5A2.5 2.5 0 1 1 8 5.5V18.5A2.5 2.5 0 1 1 5.5 16H18.5a2.5 2.5 0 1 1-2.5 2.5V5.5A2.5 2.5 0 1 1 18.5 8H8Z"/></symbol><symbol id="menu" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h16M4 12h16M4 18h16"/></symbol><symbol id="chevron-left" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m14.5 5-7 7 7 7"/></symbol><symbol id="chevron-right" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9.5 5 7 7-7 7"/></symbol><symbol id="profile" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="7.5" r="3.5"/><path d="M4.5 21v-2a7.5 7.5 0 0 1 15 0v2"/></symbol><symbol id="users" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="8.5" cy="8" r="3"/><path d="M2.5 20v-1a6 6 0 0 1 12 0v1M16 5.2a3 3 0 0 1 0 5.6M17 14a5 5 0 0 1 4.5 5v1"/></symbol><symbol id="identity" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="16" rx="2.5"/><circle cx="8" cy="9.5" r="2"/><path d="M5 16a3 3 0 0 1 6 0M14 9h4M14 13h4M14 16h2"/></symbol><symbol id="user-add" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="7.5" r="3.5"/><path d="M2.5 21v-2a6.5 6.5 0 0 1 13 0v2M19 9v6M16 12h6"/></symbol><symbol id="switch-account" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="7.5" r="3"/><path d="M3 20v-1a6 6 0 0 1 12 0v1M16 5h5m-2-2 2 2-2 2M21 19h-5m2-2-2 2 2 2"/></symbol><symbol id="logout" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h5M9 12h12m-5-5 5 5-5 5"/></symbol><symbol id="login" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5M3 12h12m-5-5 5 5-5 5"/></symbol><symbol id="user-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="7.5" r="3.5"/><path d="M2.5 21v-2a6.5 6.5 0 0 1 13 0v2M16 12l2 2 4-5"/></symbol><symbol id="security" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12 3 8 3.5V12c0 4.5-5.5 7.8-8 9-2.5-1.2-8-4.5-8-9V6.5Z"/><path d="m8.5 12 2.5 2.5 4.5-5"/></symbol><symbol id="lock" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="10" width="14" height="11" rx="2.5"/><path d="M8 10V7a4 4 0 0 1 8 0v3M12 14v3"/></symbol><symbol id="unlock" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="10" width="14" height="11" rx="2.5"/><path d="M8 10V7a4 4 0 0 1 7.5-2M12 14v3"/></symbol><symbol id="key" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="8" cy="8" r="4.5"/><path d="m11.2 11.2 9.3 9.3M16 16l2.5-2.5M18.5 18.5l2-2"/></symbol><symbol id="passkey" viewBox="0 0 24 24" fiLine truncated
|
<svg xmlns="http://www.w3.org/2000/svg"><symbol id="dashboard" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="1.5"/><rect x="14" y="3" width="7" height="7" rx="1.5"/><rect x="3" y="14" width="7" height="7" rx="1.5"/><rect x="14" y="14" width="7" height="7" rx="1.5"/></symbol><symbol id="applications" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="2.5"/><rect x="14" y="3" width="7" height="7" rx="2.5"/><rect x="3" y="14" width="7" height="7" rx="2.5"/><rect x="14" y="14" width="7" height="7" rx="2.5"/></symbol><symbol id="components" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2.5"/><path d="M3 9h18M9 9v12"/></symbol><symbol id="search" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="6.5"/><path d="m15.2 15.2 5.3 5.3"/></symbol><symbol id="command" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 8H5.5A2.5 2.5 0 1 1 8 5.5V18.5A2.5 2.5 0 1 1 5.5 16H18.5a2.5 2.5 0 1 1-2.5 2.5V5.5A2.5 2.5 0 1 1 18.5 8H8Z"/></symbol><symbol id="menu" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6h16M4 12h16M4 18h16"/></symbol><symbol id="chevron-left" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m14.5 5-7 7 7 7"/></symbol><symbol id="chevron-right" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9.5 5 7 7-7 7"/></symbol><symbol id="keyboard" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><path d="M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 12h.01M10 12h.01M14 12h.01M18 12h.01M7 15.5h10"/></symbol><symbol id="key-control" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Ctrl</text></symbol><symbol id="key-alt" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Alt</text></symbol><symbol id="key-shift" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12 3 9 9h-5v9H8v-9H3Z"/></symbol><symbol id="key-enter" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 5v8H4m5-5-5 5 5 5"/></symbol><symbol id="key-escape" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Esc</text></symbol><symbol id="key-tab" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7h17m-4-4 4 4-4 4M21 3v8M21 17H4m4-4-4 4 4 4M3 13v8"/></symbol><symbol id="key-backspace" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9 5-7 7 7 7h12V5ZM12 9l6 6m0-6-6 6"/></symbol><symbol id="key-home" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M7 7h10M12 17V9m-4 4 4-4 4 4"/></symbol><symbol id="key-end" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M7 17h10M12 7v8m-4-4 4 4 4-4"/></symbol><symbol id="windows" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m3 5 8-1v7H3ZM13 3.7l8-1.2V11h-8ZM3 13h8v7l-8-1ZM13 13h8v8.5l-8-1.2Z"/></symbol><symbol id="linux" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin=Line truncated
|
||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 18 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Alt" focusable="false"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Alt</text></svg>
|
||||||
|
After Width: | Height: | Size: 437 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Backspace" focusable="false"><path d="m9 5-7 7 7 7h12V5ZM12 9l6 6m0-6-6 6"/></svg>
|
||||||
|
After Width: | Height: | Size: 289 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Control / Ctrl" focusable="false"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Ctrl</text></svg>
|
||||||
|
After Width: | Height: | Size: 449 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="End" focusable="false"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M7 17h10M12 7v8m-4-4 4 4 4-4"/></svg>
|
||||||
|
After Width: | Height: | Size: 325 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Enter" focusable="false"><path d="M20 5v8H4m5-5-5 5 5 5"/></svg>
|
||||||
|
After Width: | Height: | Size: 271 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Escape / Esc" focusable="false"><rect x="2.5" y="5" width="19" height="14" rx="2"/><text x="12" y="14.5" text-anchor="middle" stroke="none" fill="currentColor" font-family="Arial,sans-serif" font-size="7" font-weight="600">Esc</text></svg>
|
||||||
|
After Width: | Height: | Size: 446 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Home" focusable="false"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M7 7h10M12 17V9m-4 4 4-4 4 4"/></svg>
|
||||||
|
After Width: | Height: | Size: 326 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Shift" focusable="false"><path d="m12 3 9 9h-5v9H8v-9H3Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 272 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Tab" focusable="false"><path d="M3 7h17m-4-4 4 4-4 4M21 3v8M21 17H4m4-4-4 4 4 4M3 13v8"/></svg>
|
||||||
|
After Width: | Height: | Size: 302 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Клавиатура" focusable="false"><rect x="2.5" y="5" width="19" height="14" rx="2"/><path d="M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 12h.01M10 12h.01M14 12h.01M18 12h.01M7 15.5h10"/></svg>
|
||||||
|
After Width: | Height: | Size: 400 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Linux" focusable="false"><path d="M8 9V6a4 4 0 0 1 8 0v3c1 2 3 4 3 7a7 5 0 0 1-14 0c0-3 2-5 3-7Z"/><ellipse cx="12" cy="15" rx="4" ry="5"/><path d="m10 8 2 1 2-1M5 18l-2 3h6m10-3 2 3h-6"/><path d="M10.5 5.5v.01m3-.01v.01"/></svg>
|
||||||
|
After Width: | Height: | Size: 436 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Windows / Super" focusable="false"><path d="m3 5 8-1v7H3ZM13 3.7l8-1.2V11h-8ZM3 13h8v7l-8-1ZM13 13h8v8.5l-8-1.2Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 328 B |
@@ -24,7 +24,11 @@
|
|||||||
"test:identity": "node tests/identity.mjs && node tests/totp-layout.mjs",
|
"test:identity": "node tests/identity.mjs && node tests/totp-layout.mjs",
|
||||||
"test:approved": "node tests/approved-dock.mjs",
|
"test:approved": "node tests/approved-dock.mjs",
|
||||||
"test:site": "node tests/site.mjs",
|
"test:site": "node tests/site.mjs",
|
||||||
"test:feedback": "node tests/navigation-feedback.mjs"
|
"test:feedback": "node tests/navigation-feedback.mjs",
|
||||||
|
"test:content": "node tests/content-workspaces.mjs",
|
||||||
|
"test:mobile": "node tests/mobile-dock.mjs",
|
||||||
|
"test:export": "node tests/export.mjs",
|
||||||
|
"test:skill": "node tests/skill.mjs"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"playwright": "^1.58.0",
|
"playwright": "^1.58.0",
|
||||||
|
|||||||
@@ -996,9 +996,9 @@ function errorScreen() {
|
|||||||
}
|
}
|
||||||
function componentScreen() {
|
function componentScreen() {
|
||||||
return `${heading(t("Библиотека компонентов", "Component library"), t("Единые компоненты и состояния Dock.", "Shared Dock components and states."), `<button data-page="errors">${t("Страницы ошибок", "Error pages")}</button><button data-action="command">${t("Команды", "Commands")} ${commandShortcut}</button>`)}<div class="page-body"><div class="library">
|
return `${heading(t("Библиотека компонентов", "Component library"), t("Единые компоненты и состояния Dock.", "Shared Dock components and states."), `<button data-page="errors">${t("Страницы ошибок", "Error pages")}</button><button data-action="command">${t("Команды", "Commands")} ${commandShortcut}</button>`)}<div class="page-body"><div class="library">
|
||||||
<section class="specimen"><h2>Buttons</h2><div class="component-row"><button class="primary" data-action="demo-save">${t("Сохранить", "Save")}</button><button data-action="toast">${t("Вторичная", "Secondary")}</button><button class="danger" data-action="delete">${t("Удалить", "Delete")}</button><button disabled>Disabled</button><button aria-busy="true" disabled>${t("Загрузка…", "Loading…")}</button></div><small>Hover · active · focus · disabled · loading</small></section>
|
<section class="specimen"><h2>${t("Кнопки", "Buttons")}</h2><div class="component-row"><button class="primary" data-action="demo-save">${t("Сохранить", "Save")}</button><button data-action="toast">${t("Вторичная", "Secondary")}</button><button class="danger" data-action="delete">${t("Удалить", "Delete")}</button><button disabled>${t("Недоступна", "Disabled")}</button><button aria-busy="true" disabled>${t("Загрузка…", "Loading…")}</button></div><small>Hover · active · focus · disabled · loading</small></section>
|
||||||
<section class="specimen"><h2>Inputs & selects</h2><label class="field">${t("Имя проекта", "Project name")}<input placeholder="Anidev Production"></label><label class="field">Email<input aria-invalid="true" aria-describedby="sample-error" value="invalid-email"><small class="error-text" id="sample-error">${t("Введите корректный email", "Enter a valid email")}</small></label><div class="sample-control-row"><select aria-label="${t("Окружение", "Environment")}"><option>Production</option><option>Staging</option></select><input aria-label="${t("Только для чтения", "Read-only field")}" readonly value="Read only"></div><div class="search-select-example">${searchSelectMarkup({ id: "environment-search", name: "searchEnvironment", label: t("Окружение — с поиском", "Environment — searchable"), options: environmentOptions, value: "production", t })}</div><div class="field copy-field-example"><label for="copy-input-example">${t("Строка с копированием", "Field with copy action")}</label><div class="copy-input"><button type="button" class="input-copy-action" data-copy-input aria-label="${t("Скопировать значение", "Copy field value")}" title="${t("Скопировать значение", "Copy field value")}">${iconSvg("copy", { size: 16 })}</button><input id="copy-input-example" name="copyExample" value="anidev-production" autocomplete="off"></div></div></section>
|
<section class="specimen"><h2>${t("Поля и списки", "Inputs & selects")}</h2><label class="field">${t("Имя проекта", "Project name")}<input placeholder="Anidev Production"></label><label class="field">Email<input aria-invalid="true" aria-describedby="sample-error" value="invalid-email"><small class="error-text" id="sample-error">${t("Введите корректный email", "Enter a valid email")}</small></label><div class="sample-control-row"><select aria-label="${t("Окружение", "Environment")}"><option>Production</option><option>Staging</option></select><input aria-label="${t("Только для чтения", "Read-only field")}" readonly value="Read only"></div><div class="search-select-example">${searchSelectMarkup({ id: "environment-search", name: "searchEnvironment", label: t("Окружение — с поиском", "Environment — searchable"), options: environmentOptions, value: "production", t })}</div><div class="field copy-field-example"><label for="copy-input-example">${t("Строка с копированием", "Field with copy action")}</label><div class="copy-input"><button type="button" class="input-copy-action" data-copy-input aria-label="${t("Скопировать значение", "Copy field value")}" title="${t("Скопировать значение", "Copy field value")}">${iconSvg("copy", { size: 16 })}</button><input id="copy-input-example" name="copyExample" value="anidev-production" autocomplete="off"></div></div></section>
|
||||||
<section class="specimen selection-specimen"><h2>Selection controls</h2><div class="form-row"><label class="choice-pill" for="check-demo"><input id="check-demo" type="checkbox" checked><span>${t("Email-уведомления", "Email notifications")}</span></label></div><fieldset style="border:0;padding:0"><legend>${t("Период хранения", "Retention period")}</legend><div class="component-row"><label class="choice-pill"><input type="radio" name="retention" value="30" checked><span>30 ${t("дней", "days")}</span></label><label class="choice-pill"><input type="radio" name="retention" value="90"><span>90 ${t("дней", "days")}</span></label></div></fieldset><div class="form-row"><label for="switch-demo">${t("Автообновление", "Auto refresh")}</label><input id="switch-demo" class="switch" role="switch" type="checkbox" checked></div></section>
|
<section class="specimen selection-specimen"><h2>${t("Выбор и переключатели", "Selection controls")}</h2><div class="form-row"><label class="choice-pill" for="check-demo"><input id="check-demo" type="checkbox" checked><span>${t("Email-уведомления", "Email notifications")}</span></label></div><fieldset style="border:0;padding:0"><legend>${t("Период хранения", "Retention period")}</legend><div class="component-row"><label class="choice-pill"><input type="radio" name="retention" value="30" checked><span>30 ${t("дней", "days")}</span></label><label class="choice-pill"><input type="radio" name="retention" value="90"><span>90 ${t("дней", "days")}</span></label></div></fieldset><div class="form-row"><label for="switch-demo">${t("Автообновление", "Auto refresh")}</label><input id="switch-demo" class="switch" role="switch" type="checkbox" checked></div></section>
|
||||||
<section class="specimen grouped-choice-specimen"><h2>${t("Группы чекбоксов", "Checkbox groups")}</h2>${[
|
<section class="specimen grouped-choice-specimen"><h2>${t("Группы чекбоксов", "Checkbox groups")}</h2>${[
|
||||||
"horizontal",
|
"horizontal",
|
||||||
"vertical",
|
"vertical",
|
||||||
@@ -1017,9 +1017,9 @@ function componentScreen() {
|
|||||||
.join("")}</div></fieldset>`,
|
.join("")}</div></fieldset>`,
|
||||||
)
|
)
|
||||||
.join("")}</section>
|
.join("")}</section>
|
||||||
<section class="specimen"><h2>Overlays & feedback</h2><div class="component-row"><button data-action="invite">Modal</button><button data-action="drawer">Drawer</button><button data-action="toast">Toast</button><span class="tooltip-wrap"><button aria-describedby="demo-tooltip">Tooltip</button><span class="tooltip" id="demo-tooltip" role="tooltip">${t("Скопировать идентификатор", "Copy identifier")}</span></span></div><details><summary>${t("Действия проекта", "Project actions")}</summary><div class="dropdown"><button data-action="rename">${t("Переименовать", "Rename")}</button><button data-action="download-users">${t("Экспорт CSV", "Export CSV")}</button><button class="danger" data-action="delete">${t("Удалить", "Delete")}</button></div></details><div class="context-target" tabindex="0" role="button" aria-haspopup="menu" style="margin-top:15px">${t("Контекстное меню: правая кнопка, Shift+F10 или Enter", "Context menu: right click, Shift+F10 or Enter")}</div></section>
|
<section class="specimen"><h2>${t("Меню и обратная связь", "Overlays & feedback")}</h2><div class="component-row"><button data-action="invite">Modal</button><button data-action="drawer">Drawer</button><button data-action="toast">Toast</button><span class="tooltip-wrap"><button aria-describedby="demo-tooltip">Tooltip</button><span class="tooltip" id="demo-tooltip" role="tooltip">${t("Скопировать идентификатор", "Copy identifier")}</span></span></div><details><summary>${t("Действия проекта", "Project actions")}</summary><div class="dropdown"><button data-action="rename">${t("Переименовать", "Rename")}</button><button data-action="download-users">${t("Экспорт CSV", "Export CSV")}</button><button class="danger" data-action="delete">${t("Удалить", "Delete")}</button></div></details><div class="context-target" tabindex="0" role="button" aria-haspopup="menu" style="margin-top:15px">${t("Контекстное меню: правая кнопка, Shift+F10 или Enter", "Context menu: right click, Shift+F10 or Enter")}</div></section>
|
||||||
<section class="specimen"><h2>Empty state</h2><div class="empty-state"><h3>${t("Пока нет API-ключей", "No API keys yet")}</h3><p>${t("Создайте ключ для подключения сервиса.", "Create a key to connect your service.")}</p><button data-action="create-key">${t("Создать ключ", "Create key")}</button></div></section>
|
<section class="specimen"><h2>${t("Пустое состояние", "Empty state")}</h2><div class="empty-state"><h3>${t("Пока нет API-ключей", "No API keys yet")}</h3><p>${t("Создайте ключ для подключения сервиса.", "Create a key to connect your service.")}</p><button data-action="create-key">${t("Создать ключ", "Create key")}</button></div></section>
|
||||||
<section class="specimen"><h2>Error & skeleton</h2><div class="error-state" role="status"><p>${t("Не удалось загрузить журнал.", "Could not load the log.")}</p><button data-action="retry">${t("Повторить", "Retry")}</button></div><div aria-label="${t("Загрузка данных", "Loading data")}" aria-busy="true" style="margin-top:20px"><div class="skeleton"></div><div class="skeleton"></div><div class="skeleton"></div></div></section>
|
<section class="specimen"><h2>${t("Ошибка и загрузка", "Error & skeleton")}</h2><div class="error-state" role="status"><p>${t("Не удалось загрузить журнал.", "Could not load the log.")}</p><button data-action="retry">${t("Повторить", "Retry")}</button></div><div aria-label="${t("Загрузка данных", "Loading data")}" aria-busy="true" style="margin-top:20px"><div class="skeleton"></div><div class="skeleton"></div><div class="skeleton"></div></div></section>
|
||||||
<section class="specimen toast-specimen"><h2>${t("Уведомления", "Notifications")}</h2><div class="component-row">${[
|
<section class="specimen toast-specimen"><h2>${t("Уведомления", "Notifications")}</h2><div class="component-row">${[
|
||||||
["success", t("Успех", "Success")],
|
["success", t("Успех", "Success")],
|
||||||
["info", t("Информация", "Information")],
|
["info", t("Информация", "Information")],
|
||||||
@@ -1031,9 +1031,9 @@ function componentScreen() {
|
|||||||
)
|
)
|
||||||
.join("")}</div></section>
|
.join("")}</div></section>
|
||||||
<section class="specimen status-specimen"><h2>${t("Статусы", "Status indicators")}</h2><div class="component-row status-examples"><span class="status-badge status-badge--success">${iconSvg("check", { size: 16 })}${t("Работает", "Operational")}</span><span class="status-badge status-badge--danger">${iconSvg("close", { size: 16 })}${t("Недоступен", "Unavailable")}</span><span class="status-badge status-badge--pending">${iconSvg("more-horizontal", { size: 16 })}${t("Ожидает", "Pending")}</span></div><p class="muted" style="font-size:13px">${t("Состояние выражено текстом, а не только цветом.", "Status uses text as well as color.")}</p></section>
|
<section class="specimen status-specimen"><h2>${t("Статусы", "Status indicators")}</h2><div class="component-row status-examples"><span class="status-badge status-badge--success">${iconSvg("check", { size: 16 })}${t("Работает", "Operational")}</span><span class="status-badge status-badge--danger">${iconSvg("close", { size: 16 })}${t("Недоступен", "Unavailable")}</span><span class="status-badge status-badge--pending">${iconSvg("more-horizontal", { size: 16 })}${t("Ожидает", "Pending")}</span></div><p class="muted" style="font-size:13px">${t("Состояние выражено текстом, а не только цветом.", "Status uses text as well as color.")}</p></section>
|
||||||
<section class="specimen"><h2>${t("Рабочие области", "Workspaces")}</h2><p class="muted">${t("SSH-терминал и ридер логов в стиле Dock.", "SSH terminal and log reader in Dock style.")}</p><div class="component-row"><button data-page="ssh">${t("SSH-консоль", "SSH console")}</button><button data-page="logs">${t("Log-ридер", "Log reader")}</button><button data-page="statistics">${t("Статистика сервера", "Server statistics")}</button><button data-page="documents">${t("Markdown и редактор", "Markdown and editor")}</button></div></section>
|
<section class="specimen"><h2>${t("Рабочие области", "Workspaces")}</h2><p class="muted">${t("Терминал, логи, статистика сервера и документы.", "Terminal, logs, server statistics and documents.")}</p><div class="component-row"><button data-page="ssh">${t("SSH-консоль", "SSH console")}</button><button data-page="logs">${t("Log-ридер", "Log reader")}</button><button data-page="statistics">${t("Статистика сервера", "Server statistics")}</button><button data-page="documents">${t("Markdown и редактор", "Markdown and editor")}</button></div></section>
|
||||||
<section class="specimen"><h2>${t("Иконки Anidev", "Anidev icons")}</h2><div class="component-row icon-specimen">${["profile", "security", "sessions", "applications", "settings", "copy", "key", "bell"].map(icon).join("")}</div><p class="muted">${t("64 SVG · сетка 24×24 · контур 1.5px", "64 SVGs · 24×24 grid · 1.5px stroke")}</p><a href="${new URL("../icons/", import.meta.url).pathname}" data-icon-catalog>${t("Открыть пак иконок →", "Open icon pack →")}</a></section>
|
<section class="specimen"><h2>${t("Иконки Anidev", "Anidev icons")}</h2><div class="component-row icon-specimen">${["profile", "security", "sessions", "applications", "settings", "copy", "key", "bell"].map(icon).join("")}</div><p class="muted">${t("76 SVG · сетка 24×24 · контур 1.5px", "76 SVGs · 24×24 grid · 1.5px stroke")}</p><a href="${new URL("../icons/", import.meta.url).pathname}" data-icon-catalog>${t("Открыть пак иконок →", "Open icon pack →")}</a></section>
|
||||||
<section class="specimen"><h2>Chart</h2>${chart()}</section></div><p class="compact-note">${t("Таблицы, пагинация и фильтры — на экране «Пользователи»; вкладки — в настройках; форма входа — в авторизации.", "Tables, pagination and filters: Users. Tabs: Settings. Sign-in form: Authentication.")}</p></div>`;
|
<section class="specimen"><h2>${t("График", "Chart")}</h2>${chart()}</section></div><p class="compact-note">${t("Таблицы, пагинация и фильтры — на экране «Пользователи»; вкладки — в настройках; форма входа — в авторизации.", "Tables, pagination and filters: Users. Tabs: Settings. Sign-in form: Authentication.")}</p></div>`;
|
||||||
}
|
}
|
||||||
function tokenScreen() {
|
function tokenScreen() {
|
||||||
return `${heading(t("Дизайн-токены", "Design tokens"), `${concept.name} / ${theme} / ${density}`, `<button data-action="download-system">${t("Экспорт системы", "Export system")}</button><button data-action="copy-json">${t("Копировать JSON", "Copy JSON")}</button><button class="primary" data-action="copy-css">${t("Копировать CSS", "Copy CSS")}</button>`)}<div class="page-body"><div class="tokens-list">${Object.entries(
|
return `${heading(t("Дизайн-токены", "Design tokens"), `${concept.name} / ${theme} / ${density}`, `<button data-action="download-system">${t("Экспорт системы", "Export system")}</button><button data-action="copy-json">${t("Копировать JSON", "Copy JSON")}</button><button class="primary" data-action="copy-css">${t("Копировать CSS", "Copy CSS")}</button>`)}<div class="page-body"><div class="tokens-list">${Object.entries(
|
||||||
|
|||||||
@@ -176,3 +176,45 @@ Log reader: фильтры уровня/сервиса/текста, подсв
|
|||||||
## 02.12.2026 — новые рабочие области, ожидание утверждения
|
## 02.12.2026 — новые рабочие области, ожидание утверждения
|
||||||
|
|
||||||
Добавлены Markdown/очистка HTML, минимальный редактор, виртуальные документы, breadcrumbs, 7 вариантов графиков, шаблон серверной статистики и мини-логи. Интегрированы в галерею, starter, runtime, browser export и сборку пакета. Выполнены только форматирование и сборка копированием. По прямой просьбе пользователя тесты, проверки, browser QA и аудит зависимостей не запускались. Предыдущие результаты выше не распространяются на эти изменения и новые зависимости. После утверждения нужны полный проход обеих тем/RU/EN/desktop/mobile, клавиатура и фокус, поведение редактора/Markdown и очистка опасной разметки, tooltip/таблицы графиков, логи, вложенные маршруты/back-forward, экспорт и запуск переносимого starter; затем существующие release suites.
|
Добавлены Markdown/очистка HTML, минимальный редактор, виртуальные документы, breadcrumbs, 7 вариантов графиков, шаблон серверной статистики и мини-логи. Интегрированы в галерею, starter, runtime, browser export и сборку пакета. Выполнены только форматирование и сборка копированием. По прямой просьбе пользователя тесты, проверки, browser QA и аудит зависимостей не запускались. Предыдущие результаты выше не распространяются на эти изменения и новые зависимости. После утверждения нужны полный проход обеих тем/RU/EN/desktop/mobile, клавиатура и фокус, поведение редактора/Markdown и очистка опасной разметки, tooltip/таблицы графиков, логи, вложенные маршруты/back-forward, экспорт и запуск переносимого starter; затем существующие release suites.
|
||||||
|
|
||||||
|
## 02.12.2026 — итоговый проход утверждённого состава 1.0
|
||||||
|
|
||||||
|
Состав зафиксирован в [SCOPE-1.0.md](../docs/SCOPE-1.0.md). Пользователь разрешил проверки и запретил выпуск до собственного просмотра. Версия остаётся 0.2.0 integration-preview; публикация и тег 1.0 не выполнялись.
|
||||||
|
|
||||||
|
Исправлены: конфликт глобальных chart-стилей с новыми SVG-графиками (высота, цвета рядов, пересечения подписей/таблиц), пересчёт автоматической шкалы после update, нулевые столбцы и одиночные точки, позиция tooltip; числовой формат согласован с RU/EN. Стиль новых графиков ограничен `.metric-chart`. Таблицы Markdown больше не растягивают мобильную страницу. Подменю аккаунта позиционируется до первого отображаемого кадра; после смены аккаунта starter сбрасывает черновики. Каталог и библиотека показывают 76 иконок, включая Ctrl/Alt/Shift, Enter/Esc/Tab/Backspace/Home/End, клавиатуру, Windows/Super и Linux. Заголовки библиотеки локализованы.
|
||||||
|
|
||||||
|
В переносе исправлены относительная ссылка на контракт содержимого и комплект CSS тем каталога иконок в ZIP. Экспорт теперь сохраняет прямые ссылки и открывает самостоятельный Dock вместо безусловного перенаправления на выбранный при экспорте экран. Документация приведена к утверждённому составу и текущей границе demo/API.
|
||||||
|
|
||||||
|
### Интерфейс
|
||||||
|
|
||||||
|
Общий проход выявил дефекты и ожидания тестов от прежнего мобильного rail. После исправлений повторялись только затронутые сценарии. Итоговые результаты 17 наборов:
|
||||||
|
|
||||||
|
| Набор | Результат |
|
||||||
|
| ------------------- | ------------------------------------------------------------------------- |
|
||||||
|
| browser | 50 passed |
|
||||||
|
| dock | 10 passed |
|
||||||
|
| approved-dock | 24 passed |
|
||||||
|
| site | 35 passed |
|
||||||
|
| identity | 94 passed |
|
||||||
|
| totp-layout | 4 сочетания темы/ширины, стабильная геометрия |
|
||||||
|
| icons | 103 passed |
|
||||||
|
| workspaces | 83 passed |
|
||||||
|
| navigation-feedback | 79 passed |
|
||||||
|
| search-select | 6 passed |
|
||||||
|
| package | 33 passed |
|
||||||
|
| system-pages | 183 passed |
|
||||||
|
| panel-navigation | 14 passed |
|
||||||
|
| mobile-dock | 4 touch/landscape/theme scenarios |
|
||||||
|
| content-workspaces | 20 passed |
|
||||||
|
| export | 3 изолированных маршрута ZIP, без missing/external resources |
|
||||||
|
| skill | установка во временный проект, hashes/runtime и запрет неявной перезаписи |
|
||||||
|
|
||||||
|
Токены: 6 конфигураций, проверка контраста; `git diff --check` без ошибок. Новые browser-сценарии покрывают 2 темы × 2 языка × 3 ширины статистики, наведение/клавиатуру, числовые таблицы, смену периода, пустые данные и восстановление, обновление шкалы, очистку HTML, редактирование/отступы/скачивание, breadcrumbs/back, Markdown на 3 ширинах, dispose и мини-логи. Визуально просмотрены библиотека компонентов, Markdown и статистика; остальные экраны сохранены в артефактах существующих suites. Новые снимки — `test-results/content`, результаты экспортного теста — `test-results/export-qa.json`.
|
||||||
|
|
||||||
|
### Переносимость
|
||||||
|
|
||||||
|
Starter действительно скопирован в независимую временную папку и обслуживался отдельным origin, включая Markdown, графики и динамический API-пример. Проверены манифест/hashes/imports и 20 локальных ссылок документации итогового пакета. ZIP скачан из интерфейса, распакован в новую папку и открыт на отдельном HTTP-origin: статистика, Markdown и 76 иконок работают без ресурсов исходного репозитория и без CDN. Skill установлен штатным скриптом во временный проект; все bundled hashes совпали, runtime импортируется, повторная установка без замены отклоняется. Это не установка в рабочие проекты пользователя.
|
||||||
|
|
||||||
|
`npm audit --omit=dev --json`: 0 известных уязвимостей рабочих зависимостей на момент проверки. Сканирование не является гарантией отсутствия уязвимостей.
|
||||||
|
|
||||||
|
Пределы: браузерные проверки выполнены в локальном Microsoft Edge/Chromium, мобильные — эмуляция touch/viewport, не физические устройства. Firefox/Safari и ручной аудит скринридером не выполнялись; автоматические проверки не подтверждают полную WCAG-сертификацию. Реальные backend/SSO/SSH/серверные метрики не подключались. Следующий шаг — ручной просмотр пользователем; релиз удерживается.
|
||||||
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 81 KiB |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"passed": 91,
|
"passed": 103,
|
||||||
"errors": [],
|
"errors": [],
|
||||||
"iconCount": 64,
|
"iconCount": 76,
|
||||||
"checks": "SVG bounds; five sizes; catalog search/filter/copy/download; both themes; RU/EN; desktop/tablet/mobile; nav and avatar centering; inset keyboard focus; stable icon position when Dock expands; binary export"
|
"checks": "SVG bounds; five sizes; catalog search/filter/copy/download; both themes; RU/EN; desktop/tablet/mobile; nav and avatar centering; inset keyboard focus; stable icon position when Dock expands; binary export"
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 44 KiB |
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"date": "2026-11-30T23:10:11.396Z",
|
"date": "2026-12-02T12:52:41.864Z",
|
||||||
"passed": 94,
|
"passed": 94,
|
||||||
"failed": 0,
|
"failed": 0,
|
||||||
"failures": [],
|
"failures": [],
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |