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

common: Add new component UI library #284

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

thyal
Copy link
Member

@thyal thyal commented May 28, 2024

Description

Release new react-ui component library, and use it in browser-sdk. It's pretty minimal at the moment, with only a couple of icons, and Avatar and Popover components.

Summary:

Related Issue:

Testing

  1. yarn build && yarn dev
  2. Test browser-sdk stories and verify that there's no regressions
  3. Test react-ui stories

Screenshots/GIFs (if applicable)

Checklist

  • My code follows the project's coding standards.
  • Prefixed the PR title and commit messages with the service or package name
  • I have written unit tests (if applicable).
  • I have updated the documentation (if applicable).
  • By submitting this pull request, I confirm that my contribution is made
    under the terms of the MIT license.

Additional Information

Copy link

changeset-bot bot commented May 28, 2024

🦋 Changeset detected

Latest commit: 2d9c9b2

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

This PR includes changesets to release 2 packages
Name Type
@whereby.com/react-ui Major
@whereby.com/browser-sdk Minor

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

@thyal thyal requested a review from a team May 29, 2024 09:09
@thyal thyal force-pushed the thomas/PAN-1135-maximize-participants branch 2 times, most recently from c4590e9 to 1fcfa6b Compare June 5, 2024 14:15
Base automatically changed from thomas/PAN-1135-maximize-participants to main June 5, 2024 14:29
@kevinwhereby kevinwhereby force-pushed the thomas/PAN-1157-component-ui-library branch 3 times, most recently from 4c62ad5 to 597827f Compare June 6, 2024 19:24
@kevinwhereby kevinwhereby force-pushed the thomas/PAN-1157-component-ui-library branch from 597827f to 2d9c9b2 Compare June 6, 2024 20:45
@@ -92,4 +125,19 @@ const spacing = {
10: "192px",
};

export { colors, fontWeights, fontSizes, lineHeights, borderRadius, dropShadow, spacing };
const useTheme = () => {
const theme = useEmotionTheme();
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure how themes with the css prop will work in cases where there's no emotion provider
Maybe we can just avoid using it

<Thing css={(theme) => ???}/>

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.

2 participants