From c41975c928322e947654fa486bee1da0baf43161 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 15:20:59 -0400 Subject: [PATCH] chore: release s2 button (next) (#2722) * chore: release s2 button (next) --------- Co-authored-by: github-actions[bot] Co-authored-by: Patrick Fulton <360251+pfulton@users.noreply.github.com> --- .changeset/pre.json | 1 + components/button/CHANGELOG.md | 34 ++++++++++++++++++++++++++++------ components/button/package.json | 2 +- 3 files changed, 30 insertions(+), 7 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 06309bf8446..ff9746a861f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -100,6 +100,7 @@ "@spectrum-css/ui-icons": "1.1.2" }, "changesets": [ + "nine-kings-repair", "perfect-dogs-smash", "pretty-parents-drum" ] diff --git a/components/button/CHANGELOG.md b/components/button/CHANGELOG.md index 47846b36151..1135549ba85 100644 --- a/components/button/CHANGELOG.md +++ b/components/button/CHANGELOG.md @@ -1,14 +1,26 @@ # Change Log -## 13.1.0 +## 14.0.0-next.6 -### Minor Changes +### Major Changes -- [#2616](https://github.com/adobe/spectrum-css/pull/2616) [`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d) Thanks [@castastrophe](https://github.com/castastrophe)! +- [#2600](https://github.com/adobe/spectrum-css/pull/2600) [`3559678`](https://github.com/adobe/spectrum-css/commit/35596780a1309dd145fa565461d330ddfaf50e68) Thanks [@jawinn](https://github.com/jawinn)! -#### Build optmizations to support minification +#### Spectrum 2 migration + Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes: -Output for all component CSS files is now being run through a lightweight optimizer (cssnano) which significantly reduces unnecessary whitespace. These changes reduce file size but should not have any impact on the rendering of the component. By removing unnecessary whitespace from var functions, we are making it easier to effectively minify our provided CSS assets. + - Outline buttons are no longer available in accent and negative options — use the filled variant instead. + - Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed. + - The `.spectrum-Button--fill` class is no longer needed and has been removed. + + The following `--mod` custom properties have been renamed: + + - `--mod-line-height-100` has been renamed to `--mod-button-line-height` + - `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family` + - `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration` + - `--mod-bold-font-weight` has been renamed to `--mod-button-font-weight` + +## 14.0.0-next.5 ### Patch Changes @@ -20,8 +32,18 @@ Output for all component CSS files is now being run through a lightweight optimi All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 13.1.0 + +### Minor Changes + +- [#2616](https://github.com/adobe/spectrum-css/pull/2616) [`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d) Thanks [@castastrophe](https://github.com/castastrophe)! + +#### Build optmizations to support minification + +Output for all component CSS files is now being run through a lightweight optimizer (cssnano) which significantly reduces unnecessary whitespace. These changes reduce file size but should not have any impact on the rendering of the component. By removing unnecessary whitespace from var functions, we are making it easier to effectively minify our provided CSS assets. + -#13.0.0 +# 13.0.0 🗓 2024-04-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/button@12.0.2...@spectrum-css/button@13.0.0) diff --git a/components/button/package.json b/components/button/package.json index c0a614a3fe0..b82bec37608 100644 --- a/components/button/package.json +++ b/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@spectrum-css/button", - "version": "14.0.0-next.5", + "version": "14.0.0-next.6", "description": "The Spectrum CSS button component", "license": "Apache-2.0", "author": "Adobe",