From 4c4bfc46a929a0b7074d8ba9ca11b37f6e0028c3 Mon Sep 17 00:00:00 2001 From: Maria Garcia Luque Date: Tue, 21 Jul 2026 11:08:31 +0200 Subject: [PATCH] [design-system-contract] Release 0.2.0: CHANGELOG promotion and BREAKING-CHANGES baseline --- .../design-system-contract/BREAKING-CHANGES.md | 15 +++++++++++++++ packages/design-system-contract/CHANGELOG.md | 9 ++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 packages/design-system-contract/BREAKING-CHANGES.md diff --git a/packages/design-system-contract/BREAKING-CHANGES.md b/packages/design-system-contract/BREAKING-CHANGES.md new file mode 100644 index 0000000..6ef0898 --- /dev/null +++ b/packages/design-system-contract/BREAKING-CHANGES.md @@ -0,0 +1,15 @@ +# Breaking Changes + +Cumulative log of breaking changes in `@fireflyframework/design-system-contract`, with migration notes for consumers. + +For the full per-release history (including non-breaking changes), see [CHANGELOG.md](CHANGELOG.md). + +## How to read this file + +- Entries are grouped by version, newest first. +- Every entry states: what changed, why, and the migration path (before / after). +- Pre-1.0 packages may include breaking changes inside minor bumps; they are still listed here. + +## [Unreleased] + +_No breaking changes pending release._ diff --git a/packages/design-system-contract/CHANGELOG.md b/packages/design-system-contract/CHANGELOG.md index 04d0b37..da22c3a 100644 --- a/packages/design-system-contract/CHANGELOG.md +++ b/packages/design-system-contract/CHANGELOG.md @@ -7,13 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] - 2026-07-21 + ### Added - `DataTableContract` and `ListContract`: contracts for the `ff-data-table` and `ff-list` patterns, including their `keyboard`/`aria` behavior clauses (`ff-list`'s full listbox keyboard model, page-size control, `compareWith`-driven selection/expansion) - 10 public types shared by `ff-data-table` and `ff-list`: `FfSortDirection`, `FfSelectionMode`, `FfDataTableHeader`, `FfRowEvent`, `FfSortChangeEvent`, `FfSelectionChangeEvent`, `FfExpandChangeEvent`, `FfPaginationState`, `FfPageChangeEvent`, `FfNoResultsConfig` +- `DialogContainerContract`, `MenuButtonContract` and `ToastContainerContract`: pattern contracts added to `ALL_CONTRACTS` (the aggregate now covers 23 primitives + 6 patterns) - `ariaLabel` input added to `CheckboxContract` ### Changed -- Package version bumped to `0.2.0` (minor) for the two new pattern contracts and public types above +- `ButtonContract`: new `color` input for the semantic palette; `variant` narrowed to the style axis (`solid`/`outline`/`ghost`, with legacy `primary`/`secondary` still accepted) and its default changed from `primary` to `solid` +- `BadgeContract`: new `color`, `dot`, `shape` and `maxWidth` inputs; `size` gains `xs`; host-attribute ownership gains `title` (the automatic overflow tooltip) +- `InputContract`: `type` gains `search`; new `debounceTime`, `labelType` and `search` clauses; content slots declared for the prefix/suffix affixes +- `SelectContract`: reshaped for the portaled-overlay implementation — multi-select (`multiple`, `values`), `bindLabel`/`bindValue`, option and label template slots +- `ToastContract`: reshaped as a presentational container; the required-provider clause is dropped ## [0.1.0] - 2026-07-18