diff --git a/.rubocop.yml b/.rubocop.yml index 2bb85c0..26a4c8a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -26,6 +26,10 @@ Metrics/BlockLength: # Test files: autofix only, relaxed metrics. Metrics/ClassLength: + # Declarative data literals (token tables) are length, not complexity. + CountAsOne: + - array + - hash Exclude: - 'test/**/*' diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ce11e8..c93d073 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,30 @@ All notable changes to this project are documented here. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.0] - 2026-06-15 + +### Added + +- `radius` token group (`button`/`box`) and `Tokens#radius`/`#radius!` accessors. +- `Tokens#button_style(variant)` resolver and the `Tokens::ButtonStyle` value + object: button variants (incl. an **outline** secondary) are now token-driven — + set `_text`/`_border` colors instead of forking the component. +- Box-scoped `info_box_background`/`info_box_border`/`info_box_text` tokens + (falling back to the page palette) plus a box `border-radius`. +- `Tokens#load(group: {...})` bulk-loader and a single `Tokens#to_h` snapshot. + +### Changed + +- `