Conversation
🦋 Changeset detectedLatest commit: a0a5ece The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
✅ Deploy Preview for scouterna-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
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-buttoncomponent with styling and event handling - Standardizes the
nameproperty across input, select, and checkbox components - Renames checkbox event from
scoutCheckboxCheckedtoscoutCheckedfor 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.
There was a problem hiding this comment.
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.
Added radio button component and aligned behavior of all input type components.