Skip to content

IBX-7905: AltRadio#22

Merged
dew326 merged 4 commits intomainfrom
IBX-7905
Sep 9, 2025
Merged

IBX-7905: AltRadio#22
dew326 merged 4 commits intomainfrom
IBX-7905

Conversation

@GrabowskiM
Copy link
Copy Markdown
Contributor

@GrabowskiM GrabowskiM commented Aug 28, 2025

🎫 Issue IBX-7905

Related PRs:

Description:

For QA:

Documentation:

Base automatically changed from IBX-7874 to main August 29, 2025 10:26
@GrabowskiM GrabowskiM requested review from a team and Copilot September 1, 2025 08:43
Copy link
Copy Markdown

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 an AltRadio component as an alternative radio button input with a different visual design. The component provides the same functionality as a standard radio button but renders as a clickable tile instead of the traditional radio button appearance.

Key changes:

  • New AltRadio component with tile-based visual design
  • Refactored SCSS input styles into reusable mixins
  • Added comprehensive test coverage and Storybook documentation

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/components/src/inputs/AltRadio/index.ts Export declarations for AltRadio component and types
packages/components/src/inputs/AltRadio/AltRadio.types.ts TypeScript interface extending BaseChoiceInputProps
packages/components/src/inputs/AltRadio/AltRadio.tsx Main component implementation with tile-based radio functionality
packages/components/src/inputs/AltRadio/AltRadio.test.stories.tsx Automated test stories for component behavior
packages/components/src/inputs/AltRadio/AltRadio.stories.tsx Storybook documentation with various component states
packages/assets/src/scss/styles.scss Added alt-radio stylesheet import
packages/assets/src/scss/mixins/_utils.scss New utility mixin for hiding elements
packages/assets/src/scss/mixins/_inputs.scss Extracted reusable input styling mixins
packages/assets/src/scss/inputs/_alt-radio.scss Styling for the alt-radio component
packages/assets/src/scss/_input.scss Refactored to use new input mixins

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ezrobot ezrobot requested review from OstafinL, RopRaptor, albozek, dew326 and tischsoic and removed request for a team September 1, 2025 09:00
@GrabowskiM GrabowskiM marked this pull request as draft September 1, 2025 16:00
@GrabowskiM GrabowskiM marked this pull request as ready for review September 2, 2025 11:14
@dew326 dew326 merged commit cc2a98b into main Sep 9, 2025
4 checks passed
@dew326 dew326 deleted the IBX-7905 branch September 9, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants