Contributing

Suggestions and pull requests are welcome.

How a component is added

  1. Specification: a comparison of API and behaviour, and a scope decision.
  2. Agreement on the scope and the disputed decisions.
  3. Implementation from scratch in Svelte 5.
  4. Tests: at least one for every item of the specification.
  5. An entry in the changelog.
  6. A page on this site with live examples and an API table.

Running the project

npm install
npm run dev          # this documentation site, with live reload
npm test             # unit and accessibility tests
npm run test:e2e     # library tests in a browser
npm run check        # type check of the library
npm run check:docs   # type check of the documentation site
npm run lint
npm run build        # build this site, then
npm run test:docs    # check links and run its browser tests

Use of AI

AI tools were used during development to help with code, tests, and documentation. All code was manually reviewed and tested.