Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create docs-ui package with LinkableHeading component #1401

Merged
merged 24 commits into from
Nov 27, 2023

Conversation

felixhabib
Copy link
Contributor

@felixhabib felixhabib commented Nov 24, 2023

This package is to house components for building docs sites like Braid. It is intended to be used by other sites with a similar layout and UX to the Braid site.

There will be a follow up PR to remove the 'LinkableHeading' component from the braid-design-system package and replace all usages with the component from the docs-ui package.

Copy link

changeset-bot bot commented Nov 24, 2023

🦋 Changeset detected

Latest commit: 752ec55

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@braid-design-system/docs-ui Major

Not sure what this means? Click here to learn what changesets are.

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

@felixhabib felixhabib marked this pull request as ready for review November 24, 2023 04:33
@felixhabib felixhabib requested a review from a team as a code owner November 24, 2023 04:33
@felixhabib felixhabib marked this pull request as draft November 26, 2023 23:50
@felixhabib felixhabib marked this pull request as ready for review November 27, 2023 00:00
@felixhabib felixhabib merged commit 56972ea into master Nov 27, 2023
8 checks passed
@felixhabib felixhabib deleted the documentation-design branch November 27, 2023 05:03
@seek-oss-ci seek-oss-ci mentioned this pull request Nov 27, 2023
| --------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| level | [`HeadingLevel`] | The heading size (defaults to `3`) |
| component | `string` | HTML element to render, e.g. “h1”, “h2”, etc. |
| children | `string` | Visible heading content, converted to slug (e.g. &ldquo;section-heading&rdquo;) to be used as hash link.<br/>Note: If the heading |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the heading what?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh whoops, will add the fix in the follow up PR

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.

3 participants