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

Replace current theme components with @swmansion/t-rex-ui #6018

Merged
merged 18 commits into from
May 22, 2024

Conversation

patrycjakalinska
Copy link
Collaborator

@patrycjakalinska patrycjakalinska commented May 15, 2024

Description

Because of a ramping up maintainance cost across our suite of tools - Reanimated, Gesture Handler & React Native IDE we've decided to create a UI library for our reusable docusaurus components.

This PR replaces old theme components such as Admonition, Sidebar and Table of Contents with new, reusable ones from @swmansion/t-rex-ui.

Full list of replaced components:

  • Admonition
  • PaginatorNavLink
  • DocSidebar
  • DocSidebarItem
  • DocSidebarItems
  • DocCard
  • DocItemTOCMobile
  • DocItemMetadata
  • TOCCollapsible
  • TOCItems
  • TOCItemTree
  • Footer
  • Navbar
  • SearchPage

Test plan

cd docs/
yarn

# to test development build
yarn start

# to test production build
yarn build
yarn serve

@patrycjakalinska patrycjakalinska force-pushed the @patrycjakalinska/use-components-from-t-rex-ui branch from b9d0112 to 643809c Compare May 15, 2024 09:16
@patrycjakalinska patrycjakalinska force-pushed the @patrycjakalinska/use-components-from-t-rex-ui branch from 0470b64 to b89dd06 Compare May 22, 2024 06:03
docs/src/theme/DocSidebar/index.js Outdated Show resolved Hide resolved
docs/src/theme/Navbar/index.js Outdated Show resolved Hide resolved
Copy link
Contributor

@m-bert m-bert left a comment

Choose a reason for hiding this comment

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

:shipit:

@patrycjakalinska patrycjakalinska force-pushed the @patrycjakalinska/use-components-from-t-rex-ui branch from 4019246 to 783325f Compare May 22, 2024 16:07
@patrycjakalinska patrycjakalinska added this pull request to the merge queue May 22, 2024
Merged via the queue into main with commit e3387a9 May 22, 2024
8 checks passed
@patrycjakalinska patrycjakalinska deleted the @patrycjakalinska/use-components-from-t-rex-ui branch May 22, 2024 16:12
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.

None yet

2 participants