Skip to content

Radio button#81

Merged
scriptcoded merged 3 commits intomainfrom
radio-button
Dec 16, 2025
Merged

Radio button#81
scriptcoded merged 3 commits intomainfrom
radio-button

Conversation

@scriptcoded
Copy link
Copy Markdown
Member

Added radio button component and aligned behavior of all input type components.

Copilot AI review requested due to automatic review settings December 16, 2025 18:54
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 16, 2025

🦋 Changeset detected

Latest commit: a0a5ece

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

This PR includes changesets to release 2 packages
Name Type
@scouterna/ui-react Minor
@scouterna/ui-webc Minor

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
Copy Markdown

netlify bot commented Dec 16, 2025

Deploy Preview for scouterna-ui ready!

Name Link
🔨 Latest commit a0a5ece
🔍 Latest deploy log https://app.netlify.com/projects/scouterna-ui/deploys/6941b1e2e425b40008cbbd19
😎 Deploy Preview https://deploy-preview-81--scouterna-ui.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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a new radio button component and standardizes the behavior of all input-type components by adding consistent name properties and aligning their event handling patterns.

Key Changes:

  • Adds a new scout-radio-button component with styling and event handling
  • Standardizes the name property across input, select, and checkbox components
  • Renames checkbox event from scoutCheckboxChecked to scoutChecked for consistency

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
packages/ui-webc/src/components/radio-button/radio-button.tsx New radio button component implementation with props and event handling
packages/ui-webc/src/components/radio-button/radio-button.css Styling for the radio button component including states (hover, active, checked, disabled)
packages/ui-webc/src/components/radio-button/readme.md Auto-generated documentation for the radio button component
packages/ui-webc/src/components/checkbox/checkbox.tsx Updates checkbox to add name and value props, renames event to scoutChecked, and reorders label/input
packages/ui-webc/src/components/checkbox/checkbox.css Updates checkbox styles to align with radio button (removes flex-direction, adds gap)
packages/ui-webc/src/components/checkbox/readme.md Updates documentation to reflect event rename and new props
packages/ui-webc/src/components/select/select.tsx Adds name property to select component
packages/ui-webc/src/components/select/readme.md Documents the new name property
packages/ui-webc/src/components/input/input.tsx Adds name property to input component
packages/ui-webc/src/components/input/readme.md Documents the new name property
packages/ui-react/lib/components/stencil-generated/components.ts Updates React bindings to include radio button and renamed checkbox event
packages/storybook/src/stories/radio-button.stories.tsx Adds Storybook story demonstrating radio button usage
.changeset/wicked-books-peel.md Changelog entry for the radio button addition
.changeset/tender-chairs-doubt.md Changelog entry for input component alignment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@scriptcoded scriptcoded requested a review from Copilot December 16, 2025 19:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@scriptcoded scriptcoded merged commit adf114f into main Dec 16, 2025
5 of 6 checks passed
@scriptcoded scriptcoded deleted the radio-button branch December 16, 2025 19:25
@github-actions github-actions bot mentioned this pull request Dec 16, 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.

2 participants