-
Notifications
You must be signed in to change notification settings - Fork 163
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
Update list examples to use list elements #4302
Update list examples to use list elements #4302
Conversation
Demo starting at https://vanilla-framework-4302.demos.haus |
Overall I'm not sure about this change. Technically I agree that we should implement list components as HTML lists, but this doesn't seem like a list component. The TBH I'm not sure why divider is even part of the "Lists" component page, it's so different from all other lists visually and doesn't even have a "list" in the name, it's just a "Divider". It's not a variant of a list component, it's a separate one. I guess I'd vote for removing keeping divider as divs, and possibly removing it from "lists" page, but I don't think we have other place for it to live, so it would need to be a separate "Divider" component? (maybe it was before?) - I don't know where is it easier to find it? Would you expect to see it as a list or component on it's own? It seems to me that "Divider" component name by itself also doesn't say much about what it is… So having a "Divider" component page may be as confusing as having it on lists page… |
@bartaz This makes sense to me, it does feel weird it's part of the lists component. I wasn't sure if it was intended to be used as a list hence the change. With regards to a separate divider component, when working on web I would always struggle to find this component. I used to just search the codebase for |
@bartaz I've done a rough draft and moved it to it's own component, let me know what you think |
587c50a
to
28a4ed1
Compare
Looks good but couple small things:
|
28a4ed1
to
f654d20
Compare
@bartaz Thanks for the review, I've made those changes |
@bartaz Does anything else need doing for this one? |
Done
Fixes #4225
QA
Check if PR is ready for release
If this PR contains Vanilla SCSS code changes, it should contain the following changes to make sure it's ready for the release:
Feature 🎁
,Breaking Change 💣
,Bug 🐛
,Documentation 📝
,Maintenance 🔨
.package.json
should be updated relative to the most recent release, following semver convention: