From e45d10f1e95ca8cb8d4b720c7b67218e64ed465b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2026 20:03:45 +0000 Subject: [PATCH] chore: version packages --- .changeset/modern-icon-library.md | 18 ------------------ .changeset/reativa-components-package.md | 20 -------------------- packages/reativa/CHANGELOG.md | 22 ++++++++++++++++++++++ packages/reativa/package.json | 2 +- packages/xote/CHANGELOG.md | 20 ++++++++++++++++++++ packages/xote/package.json | 2 +- 6 files changed, 44 insertions(+), 40 deletions(-) delete mode 100644 .changeset/modern-icon-library.md delete mode 100644 .changeset/reativa-components-package.md create mode 100644 packages/reativa/CHANGELOG.md create mode 100644 packages/xote/CHANGELOG.md diff --git a/.changeset/modern-icon-library.md b/.changeset/modern-icon-library.md deleted file mode 100644 index bd2f7ef..0000000 --- a/.changeset/modern-icon-library.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@prescriptive/xote": minor ---- - -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. diff --git a/.changeset/reativa-components-package.md b/.changeset/reativa-components-package.md deleted file mode 100644 index 8b4fd98..0000000 --- a/.changeset/reativa-components-package.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@prescriptive/reativa": minor ---- - -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**). diff --git a/packages/reativa/CHANGELOG.md b/packages/reativa/CHANGELOG.md new file mode 100644 index 0000000..0da81e0 --- /dev/null +++ b/packages/reativa/CHANGELOG.md @@ -0,0 +1,22 @@ +# @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**). diff --git a/packages/reativa/package.json b/packages/reativa/package.json index e433c8a..d0f8c22 100644 --- a/packages/reativa/package.json +++ b/packages/reativa/package.json @@ -1,6 +1,6 @@ { "name": "@prescriptive/reativa", - "version": "0.1.0", + "version": "0.2.0", "description": "Accessible UI components for Reativa (OCaml + Melange) that implement the Prescriptive contracts — the ReasonML/OCaml sibling of @prescriptive/xote. Styled against @prescriptive/tokens; prop types are generated from the spec API contracts, so the implementation can't drift from the spec.", "license": "MIT", "author": "brnrdog", diff --git a/packages/xote/CHANGELOG.md b/packages/xote/CHANGELOG.md new file mode 100644 index 0000000..f7ab7a8 --- /dev/null +++ b/packages/xote/CHANGELOG.md @@ -0,0 +1,20 @@ +# @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. diff --git a/packages/xote/package.json b/packages/xote/package.json index 4334c1d..65f6da8 100644 --- a/packages/xote/package.json +++ b/packages/xote/package.json @@ -1,6 +1,6 @@ { "name": "@prescriptive/xote", - "version": "0.1.0", + "version": "0.2.0", "description": "Accessible UI components for Xote/ReScript that implement the Prescriptive contracts. Styled against @prescriptive/tokens; prop types are generated from the spec API contracts, so the implementation can't drift from the spec.", "license": "MIT", "author": "brnrdog",