Skip to content

chore: version packages#12

Merged
brnrdog merged 1 commit into
mainfrom
changeset-release/main
Jul 24, 2026
Merged

chore: version packages#12
brnrdog merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@prescriptive/reativa@0.2.0

Minor Changes

  • e34848c: Add @prescriptive/reativa — the ReasonML/OCaml (reativa + Melange) sibling of
    @prescriptive/xote, as its own package.

    • Implements the same set @prescriptive/xote covers — 22 elements, 8 components, and
      7 blocks — in .mlx (JSX-for-OCaml) over Reativa.View, styled against
      @prescriptive/tokens, with the same behaviour and accessibility semantics as the
      Xote components.
    • Enum prop types (variant, size, …) are generated from the specs' ## API
      contracts into src/Contracts.ml by npm run contracts, so the OCaml
      compiler enforces that the implementation can't drift from the spec — the same
      guarantee @prescriptive/xote has.
    • src/Registry.mlx renders one live example per spec and exports the JS surface
      the website's Reativa preview consumes (mount_example, example_ids,
      built). The website's example block now has two tab strips: one picks the
      view (Preview / Playground / Code) and one picks the implementation rendered in
      the preview (Xote or Reativa).

@prescriptive/xote@0.2.0

Minor Changes

  • f327773: Add a modern SVG icon library with an Icon component.

    • @prescriptive/xote: new Icons module — a curated outline icon set (50 glyphs)
      in the Feather / Lucide visual language (24×24 grid, no fill, 2px round
      strokes) — and an Icon element that renders a named glyph as an inline SVG.
      Icons inherit the surrounding text color and optical size; pass label for a
      meaningful icon (role=img + accessible name) or omit it to mark it decorative.
      Sizes: xs, sm, md, lg, xl.
    • @prescriptive/xote: Alert now renders its icon as a glyph from the icon set
      (the prop takes an icon name) and shows a sensible per-variant default when none
      is given.
    • prescriptive: the icon element spec now types size as an enum and maps its
      implementation to Icon.res, so the component is compiler-checked against the
      contract.

@brnrdog
brnrdog merged commit f4ddaa8 into main Jul 24, 2026
1 check passed
@brnrdog
brnrdog deleted the changeset-release/main branch July 24, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant