Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release (next) #3638

Merged
merged 1 commit into from
Mar 21, 2025
Merged

Conversation

github-actions[bot]
Copy link
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 spectrum-two, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

spectrum-two is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on spectrum-two.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@spectrum-css/actionbutton@8.0.0-next.1

Major Changes

  • #2669 b2c6357 Thanks @mdt2! - Action button now uses Spectrum 2 tokens and design specifications. A few notable changes:

    • Medium is now the default size and .spectrum-ActionButton--sizeM has been removed.
    • Includes the Spectrum 2 down state transform.
    • The component border was not removed and its color was changed to transparent in order to continue support for Windows High Contrast / forced colors, which still shows a border. The mod custom properties for border were removed to avoid interference with Windows High Contrast / forced colors accessibility.
    • Some selectors to target the icon + text button and the icon-only button have been simplified using :has. This removes some overly complex calc() functions used for inline spacing, uses the design tokens more directly, and removes the previously documented need for the component's child elements to use a specific source order.
    • Background and content colors were updated.
    • Mod custom properties have been adjusted:
      • Renamed:
        • --mod-line-height-100 renamed to --mod-actionbutton-line-height.
        • --mod-sans-font-family-stack renamed to --mod-button-font-family.
        • --mod-animation-duration-100 renamed to --mod-button-animation-duration.
      • Removed:
        • --mod-actionbutton-border-color-default
        • --mod-actionbutton-border-color-disabled
        • --mod-actionbutton-border-color-down
        • --mod-actionbutton-border-color-focus
        • --mod-actionbutton-border-color-hover
        • --mod-actionbutton-border-width
        • --mod-actionbutton-static-content-color
      • New:
        • --mod-actionbutton-font-weight
        • --mod-actionbutton-font-style

@castastrophe castastrophe enabled auto-merge (squash) March 21, 2025 14:22
Copy link
Contributor Author

File metrics

Summary

Total size: 1.37 MB*

🎉 No changes detected in any packages

* Size is the sum of all main files for packages in the library.
* An ASCII character in UTF-8 is 8 bits or 1 byte.

Copy link
Contributor Author

🚀 Deployed on https://pr-3638--spectrum-css.netlify.app

@castastrophe castastrophe merged commit f8c6e9d into spectrum-two Mar 21, 2025
14 checks passed
@castastrophe castastrophe deleted the changeset-release/spectrum-two branch March 21, 2025 14:29
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.

None yet

1 participant