Skip to content

Conversation

@ttaylor-stack
Copy link
Collaborator

@ttaylor-stack ttaylor-stack commented Nov 21, 2025

PR to update radio and checkbox components to SHINE designs. Added Checkmark component too.

Stacks Svelte components created for all of the above

Story: https://stackoverflow.atlassian.net/browse/SPARK-77
Figma: https://www.figma.com/design/do4Ug0Yws8xCfRjHe9cJfZ/Project-SHINE---Product-UI?node-id=2344-22923&m=dev

NOTE: I haven't updated the migration guide because there are no breaking changes and I don't think its needed for new components. Let me know if this is correct

@changeset-bot
Copy link

changeset-bot bot commented Nov 21, 2025

🦋 Changeset detected

Latest commit: ee22c2b

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

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

@netlify
Copy link

netlify bot commented Nov 21, 2025

Deploy Preview for stacks-svelte failed. Why did it fail? →

Name Link
🔨 Latest commit ee22c2b
🔍 Latest deploy log https://app.netlify.com/projects/stacks-svelte/deploys/69209e2c41a6590008a486e6

@netlify
Copy link

netlify bot commented Nov 21, 2025

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit ee22c2b
🔍 Latest deploy log https://app.netlify.com/projects/stacks/deploys/69209e2c20a922000887b5cf
😎 Deploy Preview https://deploy-preview-2060--stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ttaylor-stack ttaylor-stack changed the base branch from develop to beta November 21, 2025 16:17
}


&&__checkmark {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've added this instead of checking against child elements because I thought it would be cleaner, let me know if I should change this


<script>
document.getElementById("indeterminate-checkbox-1").indeterminate = true;
document.getElementById("example-focus-rad")?.focus();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@CGuindon I tried forcing focus for the docs as specified in the figma but I couldn't get it working, @giamir @dancormier let me know if there is another way to get it to force focus. From what I've seen only 1 element can be forced focus and when you click it removes the focus

Copy link
Collaborator

@CGuindon CGuindon left a comment

Choose a reason for hiding this comment

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

  1. Screenshot 2025-11-21 at 10 06 14 AM

I'm tempted to just call this "Checkbox & Radio" — that's more common to the component function itself that would be more familiar. @dancormier @giamir Thoughts and preferences?


  1. Screenshot 2025-11-21 at 10 11 07 AM

For the checkmark example, I can select the unselected ones but then I can deselect/uncheck any. I think we should make this available to test out (I can check and uncheck them examples) similar to Radio and Checkmark.


  1. Screenshot 2025-11-21 at 10 15 26 AM

For the Vertical group example, let's add the example I have in Figma with checkmarks as well below the others

(not needed for horiztonal)

Same for With Description Copy example — include checkmarks version.
Screenshot 2025-11-21 at 10 17 35 AM

@CGuindon
Copy link
Collaborator

CGuindon commented Nov 21, 2025

Deploy for Svelte preview failed....?

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