Skip to content

feat(ui): expose InlineCode + themed CodeBlock/CopyButton on primitives#10

Merged
drewstone merged 1 commit intomainfrom
tin/expose-inline-code
May 6, 2026
Merged

feat(ui): expose InlineCode + themed CodeBlock/CopyButton on primitives#10
drewstone merged 1 commit intomainfrom
tin/expose-inline-code

Conversation

@AtelyPham
Copy link
Copy Markdown
Contributor

Summary

  • Re-export InlineCode, CodeBlock, CopyButton, plus CodeBlockProps / InlineCodeProps from @tangle-network/ui/primitives.
  • Updates the existing changeset description to mention the new exports (still minor).

Why

@tangle-network/sandbox-ui@0.13.0 exposes InlineCode via the deep path ./primitives/code-block. After Phase C (sandbox-ui#34) deletes those files in favor of shims, sandbox-ui needs a public @tangle-network/ui/primitives path to forward InlineCode from. This micro-PR unblocks the consume step and piggybacks on the open release PR (#9) so it ships in the same @tangle-network/ui@1.0.0.

Test plan

  • pnpm -r run build — succeeds; dist/primitives.d.ts includes InlineCode / InlineCodeProps.
  • pnpm typecheck — green.
  • Changesets-action regenerates release PR chore: release #9 with the refreshed changeset content.

Refs: #3 (epic), tangle-network/sandbox-ui#34 (consumer).

@AtelyPham AtelyPham self-assigned this May 5, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 5, 2026

⚠️ No Changeset found

Latest commit: 3c9b624

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 changesets to release 1 package
Name Type
@tangle-network/ui Minor

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

@AtelyPham AtelyPham requested a review from tangletools May 5, 2026 18:22
@github-project-automation github-project-automation Bot moved this to Not Started 🕧 in Tangle Universe May 5, 2026
@AtelyPham AtelyPham moved this from Not Started 🕧 to Building 🏗️ in Tangle Universe May 5, 2026
@drewstone drewstone merged commit 3561a48 into main May 6, 2026
@github-project-automation github-project-automation Bot moved this from Building 🏗️ to Completed ✅ in Tangle Universe May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Completed ✅

Development

Successfully merging this pull request may close these issues.

2 participants