Skip to content

fix(utilities/carbon)!: avoid emitting carbon grid classes#88

Merged
janhassel merged 1 commit into
carbon-design-system:mainfrom
janhassel:grid-exports
Jun 11, 2026
Merged

fix(utilities/carbon)!: avoid emitting carbon grid classes#88
janhassel merged 1 commit into
carbon-design-system:mainfrom
janhassel:grid-exports

Conversation

@janhassel

Copy link
Copy Markdown
Member

Closes #87

This could technically be a breaking change for consumers who relied on this unintended side effect.

Changelog

Changed

  • Import grid breakpoints map from @carbon/styles/scss/config instead of @carbon/styles/scss/grid to avoid emitting all Carbon grid classes as a side effect

Testing / Reviewing

Build prebuilts and verify there are no occurrences of .cds--css-grid.

PR Checklist

As the author of this PR, before marking ready for review, confirm you:

  • Reviewed every line of the diff
  • Updated documentation (notes, example, sass annotations)
  • Addressed any impact on accessibility (a11y)
  • Tested for cross-browser consistency
  • Validated that this code is ready for review and status checks should pass

@janhassel janhassel merged commit c47c46e into carbon-design-system:main Jun 11, 2026
2 checks passed
@janhassel janhassel deleted the grid-exports branch June 11, 2026 08:40
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.

Using this package (in particular /scss/utilities/carbon) emits all carbon grid related classes

1 participant