Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 10, 2025

Closes #

Standardizes CSS module file naming for Storybook stories. Previously, some story-related CSS modules used *Stories.module.css while others used *.stories.module.css. This inconsistency has been resolved in favor of the lowercase pattern.

Changelog

Changed

  • Renamed 10 CSS module files from *Stories.module.css to *.stories.module.css:
    • AnchoredPositionStories.module.cssAnchoredPosition.stories.module.css
    • ThemeProviderStories.module.cssThemeProvider.stories.module.css
    • FocusTrapStories.module.cssFocusTrap.stories.module.css
    • ActionMenuStories.module.cssActionMenu.stories.module.css
    • ActionListStories.module.cssActionList.stories.module.css
    • FocusZoneStories.module.cssFocusZone.stories.module.css
    • LabelGroupStories.module.cssLabelGroup.stories.module.css
    • TreeViewStories.module.cssTreeView.stories.module.css
    • SelectPanel2Stories.module.cssSelectPanel2.stories.module.css
    • SpinnerStories.module.cssSpinner.stories.module.css
  • Updated 16 import statements in story files to reference renamed files

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

No functional changes—purely a file rename. Build, type checking, and all 1732 tests pass.

Merge checklist

Original prompt

In packages/react, find all css files with names that look like SomethingStories.module.css and convert them into Something.stories.module.css

For example, FocusTrapStories.module.css should be FocusTrap.stories.module.css


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@changeset-bot
Copy link

changeset-bot bot commented Nov 10, 2025

⚠️ No Changeset found

Latest commit: 4bf13d3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI changed the title [WIP] Rename CSS files for storybook format Normalize CSS module naming: *Stories.module.css → *.stories.module.css Nov 10, 2025
Copilot AI requested a review from siddharthkp November 10, 2025 10:54
Copilot finished work on behalf of siddharthkp November 10, 2025 10:54
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.

2 participants