Skip to content

CounterLabel, StateLabel: sync docs.json with deprecated props#8182

Draft
siddharthkp wants to merge 1 commit into
mainfrom
siddharthkp/counterlabel-statelabel-docs-deprecated
Draft

CounterLabel, StateLabel: sync docs.json with deprecated props#8182
siddharthkp wants to merge 1 commit into
mainfrom
siddharthkp/counterlabel-statelabel-docs-deprecated

Conversation

@siddharthkp

Copy link
Copy Markdown
Member

Closes #

The generated props documentation for CounterLabel and StateLabel did not reflect deprecations that already exist in the source, so consumers had no signal to migrate: CounterLabel's scheme and StateLabel's variant are @deprecated in the components, and their replacements (variant and size) were missing from the docs entirely.

Changelog

Changed

  • CounterLabel.scheme and StateLabel.variant are marked deprecated in the docs.

New

  • Documented the replacement props: CounterLabel.variant and StateLabel.size.

Rollout strategy

  • None; documentation metadata only, no runtime or published API change.

Testing & Reviewing

Docs-only change. Compare each docs.json against the props declared in CounterLabel.tsx and StateLabel.tsx.

Mark CounterLabel scheme and StateLabel variant as deprecated and document their replacements (variant, size)
@siddharthkp siddharthkp added the skip changeset This change does not need a changelog label Jul 17, 2026
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a910144

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changeset This change does not need a changelog staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant