Thanks for improving layout-style-css. This repository is a CSS layout library, so changes should keep structure, spacing, responsive behavior, and package contracts separate from visual styling.
npm install
npm run build
npm run lint
npm run check:demo-js
npm testRun the full release gate before opening a release PR:
npm run release:verify- Keep authored CSS in
styles/. - Regenerate
dist/withnpm run build; do not hand-edit generated dist files. - Keep public layout classes prefixed with
ly-. - Leave colors, typography, borders, shadows, native controls, focus states, themes, and modes to
ui-style-kit-css. - Keep v3 on canonical hooks; do not add legacy, recipe-class, or companion structural aliases.
- Preserve semantic mobile DOM, reading, and focus order; built-in recipes must use named areas instead of visual order.
- Test container behavior below and above
42rem,44rem,48rem,52rem, and72rem. - Test height behavior below and above
30remand44rem. - Keep personality files limited to tokens and topology templates; they must not declare breakpoints.
- Update README,
docs/wiki, andCHANGELOG.mdwhen a public class, export, recipe, release workflow, or package behavior changes.
Every change that affects public behavior should update or preserve:
test/layout-css-contract.test.mjsfor package, CSS, docs, and tarball contracts.test/release-docs-contract.test.mjsfor current documentation and workflow contracts.test/demo-smoke.test.mjsfor rendered demo behavior.test/pages-artifact.test.mjsfor GitHub Pages output.stylelintfor authored CSS formatting.
- The package remains publishable as a public npm library.
- The npm tarball contains only intended release files.
- README examples use exported package entrypoints.
- Documentation links resolve to versioned files.
- Demo controls remain compact on mobile and tablet viewports.
- Chromium, Firefox, and WebKit pass for release-facing rendered changes.
- New CSS does not introduce UI Style Kit-owned visual declarations.
The source for the project wiki is docs/wiki/. If GitHub Wiki is enabled for the repository, mirror those files into the wiki remote after the main branch documentation is merged.