Release

Coralite v0.18.3

Coralite v0.18.3 introduces a configurable step value for the counter component, improved type definitions, null safety checks, and updated documentation.

TD
Thomas David September 17, 2025

Coralite v0.18.3 introduces configurable step values for the counter component, refines type definitions for improved developer experience, and includes several bug fixes and documentation updates to enhance stability and clarity.

Key Features

  • Added configurable step value to the counter component, allowing users to define custom increment/decrement intervals (e.g., 1, 5, 10) via component attributes or props. This functionality is now included as a template in the coralite-scripts scaffolding tool, providing an example implementation for developers to extend.
  • Updated type definitions for ref resolution to improve type safety and clarity in TypeScript environments.
  • Introduced two new type definitions: CoralitePathValues and CoraliteValues for better type consistency across the core library.

Bug Fixes

  • Removed unnecessary types build step, reducing build complexity and potential errors.
  • Added missing exports to JSDoc type files to ensure proper type documentation generation.
  • Removed unused CoraliteModuleScript callback and updated documentation for tokens and slots parameters to improve code clarity.
  • Added null safety checks for customElements access in the initialise method to prevent runtime errors in environments where customElements is not available.

Documentation & Type Safety

  • Added CoraliteValues type definition to the initialise method documentation, improving type guidance for developers using the API.

Get the release

bash
Code copied!
  npm install coralite@0.18.3

For a complete list of changes, view the v0.18.3 changelog on Codeberg.

TD

Thomas David

Creator of Coralite. Writing about the intersection of native web APIs, compiler design, and AI-assisted development.