-
-
Notifications
You must be signed in to change notification settings - Fork 48
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 SelectList with SelectField. #127
Conversation
🦋 Changeset detectedLatest commit: 287f6d4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
PR Summary
|
3c9bbea
to
c652671
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments. I also noticed an opening issue while testing it in the vercel preview I'll share is discrod
c652671
to
93f95cf
Compare
@willnationsdev I'm not sure if you would want to tackle this as part of the same PR, but I created #132 (extracted from #130) which helps standardize |
aa01b87
to
19f76c2
Compare
19f76c2
to
ff1131f
Compare
407e680
to
020202f
Compare
Awesome, thanks @willnationsdev. I don't have a ton of time to look at it right now, but will more this evening. I did a quick run through using the Vercel preview and noticed QuickSearch has an issue. CleanShot.2023-12-13.at.14.57.53.mp4My guess is we just need to update where we build the options to use |
020202f
to
9fdc93d
Compare
@techniq QuickSearch should be fixed now. I updated all the SelectField docs, but never updated the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good, and I love all the Typescript improvements. Some 2 small nits (and I can handle them post merge if you want.
Could you add the text-left
class to <button>
within SelectField
and make sure it doesn't cause any unexpected regressions, and maybe add a SelectField example with inlineOptions
enabled?
9fdc93d
to
317aacf
Compare
317aacf
to
8532403
Compare
8532403
to
73eb40a
Compare
- Updates SelectField to support the same features as SelectList. - Updates QuickSearch to use SelectField. - Declared MenuOption & moved to types folder. - Updated MenuField/SelectField to reference MenuOption. - Switched to use of 'label' instead of 'name' for options. - Added `activeOptionIcon` to SelectField.
73eb40a
to
287f6d4
Compare
@techniq Afaik, these changes should be ready for merging. Please review it when you get a chance & let me know if I need to update anything else. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks! We chatted about fixing the chevron button toggle, but we'll get to that at some point :). I'm glad to get this merged so I can restack on top of it for the theme work, and this PR didn't have Cloudflare previews (assuming because it existed before I switched) and looking to shutdown my Vercel integration (save money and stop messaging me about failures because I switched to use the cloudflare sveltekit adapter explicitly).
Thanks again, and sorry it took so long to merge. I'll try to update one of my large projects "soon" and see if I find any unexpected regressions.
- Updates SelectField to support the same features as SelectList. - Updates QuickSearch to use SelectField. - Declared MenuOption & moved to types folder. - Updated MenuField/SelectField to reference MenuOption. - Switched to use of 'label' instead of 'name' for options. - Added `activeOptionIcon` to SelectField.
QuickSearch
to useSelectField
.SelectList
.SelectField
that allow it to supportSelectList
's use cases.