SUI-R03/norms/rules/shtukbase-ui-html/SUI-R03.md
Этот текст ещё не переведён. Ниже английский оригинал.
ui.css is rebuilt from the component CSS
MUSTне пускаетпроверкадействует
/design/shtukbase-ui-html/ui.css is exactly what the build action writes from the current component CSS.
Зачем: Pages, lenses and the React library load ui.css, not the component files. If it is not rebuilt, an edit to a component does not reach them, and an edit to ui.css by hand is lost at the next build.
Enforcer: checks/fresh.ts
/design/shtukbase-ui-html/ui.css is exactly what the build action writes from the current component CSS.
What counts as a violation. ui.css is missing or differs from the build. If a component breaks SUI-R01, this check stays silent; SUI-R01 names it.
Why. Pages, lenses and the React library load ui.css, not the component files. If it is not rebuilt, an edit to a component does not reach them, and an edit to ui.css by hand is lost at the next build.
Run. shtuk run shtukbase-ui-html fresh. A violation is a line, exit code 1.
How to fix. Rebuild: shtuk run shtukbase-ui-html build. Edit the component .css, not ui.css.
Пакет The shtukbase-ui-html component library кладёт эту страницу в
/norms/rules/shtukbase-ui-html/SUI-R03.md.Исходный текст