Release tracking#1335
Open
primer[bot] wants to merge 1 commit into
Open
Conversation
Contributor
❗ Pre-merge checklistPlease ensure these items are checked before merging. ✅ Preliminary checks
🔌 Integration smoke testsDotcom
Subdomain sites
Sandboxes
🤔 Cross-check (aka sanity test)
After tests
🚢 After merge
|
Contributor
🟢 No design token changes found |
Contributor
🟢 No unit test coverage changes foundAll components and hooks with tests maintain the same coverage as the main branch. |
Contributor
🟢 No visual differences foundOur visual comparison tests did not find any differences in the UI. |
01cf5f7 to
59bbed4
Compare
59bbed4 to
0198e80
Compare
0198e80 to
275a2b0
Compare
Contributor
🟢 Bundle size report
|
275a2b0 to
5bd56cb
Compare
5bd56cb to
0963e67
Compare
0963e67 to
485a344
Compare
485a344 to
982c487
Compare
982c487 to
4784c3e
Compare
4784c3e to
b6d410e
Compare
b6d410e to
5601e39
Compare
5601e39 to
20c2136
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 main, this PR will be updated.
Releases
@primer/brand-css@0.68.0
Minor Changes
#1344
e54a442Thanks @rezrah! - Updated Button appearance and API ergonomics:accentButton variant. Useprimaryinstead, which now applies the previousaccentappearance.secondary, andsubtlevariant colors and state styles.48pxto43px, so medium Button, ActionMenu, TextInput, and Select controls stay aligned.Buttoncomponent so labels are centered consistently in browsers like Firefox.hasArrowprop and hid Button arrows by default.hasArrowwill be removed entirely in a future release.Patch Changes
#1359
9c900e9Thanks @rezrah! - Adjusted theHero.Labelbottom spacing from16pxto14px.#1359
9c900e9Thanks @rezrah! - UpdatedIconwithhasBackgroundto use a 12px border radius.#1359
9c900e9Thanks @rezrah! - UpdatedCheckboxandRadiochecked, indeterminate, disabled, and hover state styling to match the latest design treatment.Form controls now use a dedicated focus color token, with blue-6 in light mode and blue-2 in dark mode.
Updated form validation icon alignment and success color treatment.
The checkmark animation now uses the checked foreground color from the start instead of flashing the focus color first.
#1359
9c900e9Thanks @rezrah! - Updated theLogoSuitegridline expressive layout to use slightly larger tablet logobar spacing, improving alignment with the overview template design.Set
LogoSuitemobile logo sizing to 32px, matching the tablet presentation and improving consistency across smaller viewports.Updated the
LogoSuiteexpressive gridline variant on tablet layouts to use fixed 91px inline edge spacing instead of a max-width cap.@primer/brand-primitives@0.68.0
Minor Changes
#1353
d82cfa3Thanks @rezrah! - Removed Pagination-specific CSS variables from@primer/brand-*packages. Pagination now uses the shared BrandButtoncomponent styling, so the previous custom token variables are no longer emitted or required:#1340
670f3e6Thanks @rezrah! - - Visual changes to thePillarcomponent.Pillar.Iconnow defaults to a fixed green color with corresponding filled background. It now uses theIconcomponent internally for size parity withCard.Icon.Pillar.Iconcolorprop andPillarIconColorstype export. Pillar icons using the shared background now always render green. Removecolorfrom existingPillar.Iconusage.iconColorfield fromFlexTemplatepillar items because it forwarded to the removedPillar.Iconcolor prop.Native SVG icons fit the shared background by default, and
hasBackground={false}renders custom artwork without the shared background treatment.Pillar.Iconiconprop type. It previously accepted arbitraryReactNodevalues such asstring,number, andboolean, but those values didn't render a usable icon. It now only accepts a valid icon component or icon element.Removed the Pillar-specific icon color tokens from the package output.
Updated bordered Pillars to use a medium border radius.
Increased default size of
Pillar.Headingfromsubhead-largeto6Increased
Pillar.Icondefault size from24pxto32pxand added extra space between it and the subsequent heading.#1344
e54a442Thanks @rezrah! - Updated Button appearance and API ergonomics:accentButton variant. Useprimaryinstead, which now applies the previousaccentappearance.secondary, andsubtlevariant colors and state styles.48pxto43px, so medium Button, ActionMenu, TextInput, and Select controls stay aligned.Buttoncomponent so labels are centered consistently in browsers like Firefox.hasArrowprop and hid Button arrows by default.hasArrowwill be removed entirely in a future release.Patch Changes
#1353
d82cfa3Thanks @rezrah! - Added newMediaPlaylistcomponent, which can be used for presenting a list of YouTube videos.🔗 See
MediaPlaylistdocumentation for more usage examples#1359
9c900e9Thanks @rezrah! - Added and updated form control color tokens forCheckbox,Radio, and shared focus states.New tokens are now available:
Existing tokens were also updated:
@primer/react-brand@0.68.0
Minor Changes
#1353
d82cfa3Thanks @rezrah! - Added newMediaPlaylistcomponent, which can be used for presenting a list of YouTube videos.🔗 See
MediaPlaylistdocumentation for more usage examples#1280
97a3f50Thanks @rezrah! - Added ESM library support.A new
@primer/react-brand/esmentry point is now available for modern bundlers (E.g. Vite, Next.js, etc).Components imported from this path automatically include the minimum CSS needed. Separate global stylesheet imports are no longer required.
ESM features are opt-in, and the previous UMD bundle (
@primer/react-brand) and global CSS (@primer/react-brand/lib/css/main.css) continue to work as before.We recommend switching to ESM as soon as possible, as it will eventually become the default in future.
🔗 Get started with ESM
#1340
670f3e6Thanks @rezrah! - - Visual changes to thePillarcomponent.Pillar.Iconnow defaults to a fixed green color with corresponding filled background. It now uses theIconcomponent internally for size parity withCard.Icon.Pillar.Iconcolorprop andPillarIconColorstype export. Pillar icons using the shared background now always render green. Removecolorfrom existingPillar.Iconusage.iconColorfield fromFlexTemplatepillar items because it forwarded to the removedPillar.Iconcolor prop.Native SVG icons fit the shared background by default, and
hasBackground={false}renders custom artwork without the shared background treatment.Pillar.Iconiconprop type. It previously accepted arbitraryReactNodevalues such asstring,number, andboolean, but those values didn't render a usable icon. It now only accepts a valid icon component or icon element.Removed the Pillar-specific icon color tokens from the package output.
Updated bordered Pillars to use a medium border radius.
Increased default size of
Pillar.Headingfromsubhead-largeto6Increased
Pillar.Icondefault size from24pxto32pxand added extra space between it and the subsequent heading.#1344
e54a442Thanks @rezrah! - Updated Button appearance and API ergonomics:accentButton variant. Useprimaryinstead, which now applies the previousaccentappearance.secondary, andsubtlevariant colors and state styles.48pxto43px, so medium Button, ActionMenu, TextInput, and Select controls stay aligned.Buttoncomponent so labels are centered consistently in browsers like Firefox.hasArrowprop and hid Button arrows by default.hasArrowwill be removed entirely in a future release.#1332
c4f4634Thanks @rezrah! - UpdatedCTABannerwith new features and better defaults.Added
CTABanner.Logofor displaying custom logos.Added
CTABanner.Linkfor rendering a secondary call-to-action as a text link.CTABanner.Headingnow automatically renders at visual size'6'in theminimalvariant when nosizeprop is provided.CTABanner.Imagenow accepts all native<img>HTML attributes.🔗 See the documentation for more usage examples
Patch Changes
#1354
2c08abfThanks @danielguillan! - AddedfullWidthprop toPillar. When set, the component removes its defaultmax-widthconstraint so it can fill the available container width.#1339
617e7a3Thanks @danielguillan! - Fixed horizontal scrollbar overflow caused by gridlines pseudo-elements inTiles,River,RiverBreakout,RiverAccordion, andSectionIntroStackedon systems with classic always-visible scrollbars (Windows, Linux, macOS with "Always show scrollbars").#1353
d82cfa3Thanks @rezrah! - FixedSubNavnarrow viewport layout and alignment issues:#1359
9c900e9Thanks @rezrah! - Adjusted theHero.Labelbottom spacing from16pxto14px.#1359
9c900e9Thanks @rezrah! - UpdatedIconwithhasBackgroundto use a 12px border radius.#1359
9c900e9Thanks @rezrah! - UpdatedCheckboxandRadiochecked, indeterminate, disabled, and hover state styling to match the latest design treatment.Form controls now use a dedicated focus color token, with blue-6 in light mode and blue-2 in dark mode.
Updated form validation icon alignment and success color treatment.
The checkmark animation now uses the checked foreground color from the start instead of flashing the focus color first.
#1353
d82cfa3Thanks @rezrah! - Updates toPaginationcomponent:Buttoncomponent for more consistent visual styling.#1355
56748b7Thanks @danielguillan! - Updated the RiverAccordion gridline variant to include full-bleed visual backgrounds by default. Override--brand-RiverAccordion-visual-backgroundto customize the visual background with a color, gradient, or image.#1359
9c900e9Thanks @rezrah! - Updated theLogoSuitegridline expressive layout to use slightly larger tablet logobar spacing, improving alignment with the overview template design.Set
LogoSuitemobile logo sizing to 32px, matching the tablet presentation and improving consistency across smaller viewports.Updated the
LogoSuiteexpressive gridline variant on tablet layouts to use fixed 91px inline edge spacing instead of a max-width cap.@primer/brand-docs@0.68.0
@primer/brand-storybook@0.68.0
@primer/brand-e2e@0.68.0
@primer/brand-fonts@0.68.0
@primer/brand-config@0.68.0