Skip to content

chore(fuselage)!: Remove useArrayLikeClassNameProp and Falsy from the public API - #2172

Open
tassoevan wants to merge 1 commit into
mainfrom
chore/unexport-internal-helpers
Open

chore(fuselage)!: Remove useArrayLikeClassNameProp and Falsy from the public API#2172
tassoevan wants to merge 1 commit into
mainfrom
chore/unexport-internal-helpers

Conversation

@tassoevan

Copy link
Copy Markdown
Member

Proposed changes

Removes useArrayLikeClassNameProp and the Falsy type from the @rocket.chat/fuselage public entry point. Both are internal helpers, used only by Box and StylingBox; the modules themselves are untouched and keep working internally.

Follow-up to #2167.

Note

The API report now carries an api-extractor warning:

src/components/Box/Box.tsx:32:5 - (ae-forgotten-export) The symbol "Falsy" needs to be exported by the entry point index.d.ts

Falsy is still referenced by Box's public className prop type, so un-exporting it leaves a dangling reference in the generated declarations. If that warning shouldn't stand, the alternatives are inlining the union in Box's prop type or keeping Falsy exported.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change): two previously public exports are gone.

Checklist

  • I have read the CONTRIBUTING doc
  • Lint and unit tests pass locally with my changes

🤖 Generated with Claude Code

… the public API

Both are internal helpers used only by `Box` and `StylingBox`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@tassoevan
tassoevan requested a review from a team August 25, 2026 19:57
@changeset-bot

changeset-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c70dd9e

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

@mergify

mergify Bot commented Aug 25, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants