Overview
Versioning & compatibility
How RWDS and RUI evolve, what counts as a breaking change and why the two systems are not versioned as one package.
Separate release surfaces
RWDS follows the website and its content. RUI follows the OS frontend and the @rumahl/ui package. A release of one system does not imply a release of the other.
Compatibility rules
- Token roles and component props are treated as contracts.
- New tokens, variants and props are additive within a major version.
- Removing or redefining a public token or prop is a breaking change.
- RUI component props and theme token IDs follow semver.
- RWDS theme roles must keep their semantic meaning across website releases.
- Deprecate first, then remove in a new major version.
Storybook and fixtures
RUI keeps component stories and tests next to the components. RWDS keeps web stories in its own Storybook. Both should be updated together with the implementation they document.
No combined package
Do not collapse the systems
RWDS and RUI may share a brand palette, but they are not a single versioned package. Importing one into the other creates accidental compatibility promises.
Need the implementation? Open the design resources or the source repository.