Skip to content

Add Form Controls Layout support for Radio Group #624

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

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

clintcs
Copy link
Collaborator

@clintcs clintcs commented Jan 22, 2025

🚀 Description

N/A

📋 Checklist

🔬 How to Test

Just a quick spot check of Radio Group outside of Form Controls Layout should do.

📸 Images/Videos of Functionality

image

Copy link

changeset-bot bot commented Jan 22, 2025

🦋 Changeset detected

Latest commit: 13fc1c8

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

This PR includes changesets to release 1 package
Name Type
@crowdstrike/glide-core Patch

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

font-family: var(--glide-core-heading-xxxs-font-family);
font-size: var(--glide-core-heading-xxxs-font-size);
font-style: var(--glide-core-heading-xxxs-font-style);
font-variant: var(--glide-core-heading-xxxs-font-variant);
font-weight: var(--glide-core-heading-xxxs-font-weight);
line-height: 1;
Copy link
Collaborator Author

@clintcs clintcs Jan 22, 2025

Choose a reason for hiding this comment

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

Moved to Radio Group Radio above. No other element needs it.

@@ -4,13 +4,11 @@ export default [
css`
.component {
color: var(--glide-core-text-body-1);
display: inline-flex;
Copy link
Collaborator Author

@clintcs clintcs Jan 22, 2025

Choose a reason for hiding this comment

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

Unnecessary as far as I can tell. It was also adding extra whitespace above Radio Group. Barely noticeable in the screenshot.

Before

image

After

image

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yup that's exactly what I was seeing as well.

@@ -7,7 +7,6 @@ export default [
`,
css`
:host {
display: flex;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Apparently unused.

@clintcs clintcs force-pushed the add-form-controls-layout-support-to-radio-group branch 3 times, most recently from 8ec689b to 122a7ce Compare January 22, 2025 17:47
@clintcs clintcs marked this pull request as ready for review January 22, 2025 17:50
@clintcs clintcs force-pushed the add-form-controls-layout-support-to-radio-group branch from 122a7ce to b0e911f Compare January 22, 2025 17:59
Copy link
Contributor

Copy link
Collaborator

@ynotdraw ynotdraw left a comment

Choose a reason for hiding this comment

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

Thanks for picking this up so quickly

@@ -4,13 +4,11 @@ export default [
css`
.component {
color: var(--glide-core-text-body-1);
display: inline-flex;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Yup that's exactly what I was seeing as well.

@clintcs
Copy link
Collaborator Author

clintcs commented Jan 22, 2025

Pushed an amended commit to resolve the conflicts from #615.

@clintcs clintcs force-pushed the add-form-controls-layout-support-to-radio-group branch from b0e911f to 13fc1c8 Compare January 22, 2025 20:15
@clintcs clintcs merged commit c6109c3 into main Jan 22, 2025
7 checks passed
@clintcs clintcs deleted the add-form-controls-layout-support-to-radio-group branch January 22, 2025 20:27
@github-actions github-actions bot mentioned this pull request Jan 22, 2025
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