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/list component #1122

Merged
merged 3 commits into from
Nov 13, 2023
Merged

Feat/list component #1122

merged 3 commits into from
Nov 13, 2023

Conversation

paghar
Copy link
Contributor

@paghar paghar commented Nov 10, 2023

Summarize the changes made and the motivation behind them.

Reference related issues using # followed by the issue number.

If there are breaking API changes - like adding or removing props, or changing the structure of the theme - describe them, and provide steps to update existing code.

Copy link

vercel bot commented Nov 10, 2023

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

Name Status Preview Comments Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2023 9:08pm

@paghar
Copy link
Contributor Author

paghar commented Nov 10, 2023

hi @rluders,
As you mentioned, I updated examples structure to this component in this new branch.
Please take a look...
Thanks.

Copy link
Collaborator

@SutuSebastian SutuSebastian 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, pretty much remove the redundant React.Fragment's in the example files

examples/list/list.nested.tsx Outdated Show resolved Hide resolved
examples/list/list.nested.tsx Outdated Show resolved Hide resolved
examples/list/list.nested.tsx Outdated Show resolved Hide resolved
@paghar paghar force-pushed the feat/list-component branch 2 times, most recently from b4d7bf4 to b2dbcbe Compare November 12, 2023 10:24
@paghar
Copy link
Contributor Author

paghar commented Nov 12, 2023

@SutuSebastian fixed right now :)

return (
<Component
className={twMerge(
theme.root.ordered[props.ordered ? 'on' : 'off'],
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it would be a good idea for the future to start using https://cva.style/docs for the variants, instead of handling it differently for each component.

Copy link
Collaborator

@SutuSebastian SutuSebastian left a comment

Choose a reason for hiding this comment

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

nice!

@SutuSebastian
Copy link
Collaborator

some prettier must be ran so build can pass

@paghar paghar force-pushed the feat/list-component branch from b2dbcbe to 8478f3e Compare November 12, 2023 21:05
@paghar
Copy link
Contributor Author

paghar commented Nov 12, 2023

@SutuSebastian Thanks for your information.
fixed now...

@paghar paghar force-pushed the feat/list-component branch from 8478f3e to 01065d4 Compare November 12, 2023 21:06
Copy link

codecov bot commented Nov 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7461173) 99.54% compared to head (01065d4) 93.58%.
Report is 145 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1122      +/-   ##
==========================================
- Coverage   99.54%   93.58%   -5.97%     
==========================================
  Files         163      213      +50     
  Lines        6621     9026    +2405     
  Branches      401      481      +80     
==========================================
+ Hits         6591     8447    +1856     
- Misses         30      579     +549     

see 178 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rluders rluders merged commit a77cf84 into themesberg:main Nov 13, 2023
3 of 4 checks passed
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