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

feat: support multi style and style prop #744

Merged
merged 40 commits into from
Aug 12, 2024
Merged

feat: support multi style and style prop #744

merged 40 commits into from
Aug 12, 2024

Conversation

Bars92
Copy link
Member

@Bars92 Bars92 commented Jul 18, 2024

related https://github.com/descope/etc/issues/4875

  • add styleName prop
  • allow load style based on style prop or default theme

Copy link

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
access-key-management-widget ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2024 3:38pm
audit-management-widget ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2024 3:38pm
role-management-widget ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2024 3:38pm
user-management-widget ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2024 3:38pm
user-profile-widget ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2024 3:38pm

Copy link
Collaborator

@nirgur nirgur left a comment

Choose a reason for hiding this comment

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

Looks good
added a few comments

In addition, I know it's not part of the task, but I really think we should start using the mixins also in the web component and this is a good opportunity to do it
It should simplify the code dramatically and we will not have to maintain this logic in 2 different places

WDYT? we can do it together if you like

@Bars92 Bars92 merged commit 7d153ec into main Aug 12, 2024
11 checks passed
@Bars92 Bars92 deleted the multi-style-project branch August 12, 2024 13:42
@Bars92 Bars92 mentioned this pull request Aug 21, 2024
2 tasks
Bars92 added a commit that referenced this pull request Aug 22, 2024
## Related Issues
related descope/etc#4875

## Related PRs
#744

## Description
- add styleId to react sdk
- add test
- add readme details

## Must

- [ ] Tests
- [ ] Documentation (if applicable)

---------

Signed-off-by: Bar Saar <[email protected]>
Co-authored-by: nirgur <[email protected]>
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