Skip to content
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

Refactor Select to use ListBoxSection #504

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Conversation

mkernohanbc
Copy link
Contributor

@mkernohanbc mkernohanbc commented Nov 27, 2024

This PR closes #503 with a small change to the Select component, replacing the RAC Section subcomponent (deprecated in 1.5.0) with the ListBoxSection subcomponent. This change is dependent on #500.

Section was only used internally within Select (ie. our users are not importing/working with Section directly), so there should be no downstream impact for users from this change. The component is configured and will render as before.

@mkernohanbc mkernohanbc added the enhancement New feature or request label Nov 27, 2024
@mkernohanbc mkernohanbc added this to the Components v0.5.0 milestone Nov 27, 2024
@mkernohanbc mkernohanbc self-assigned this Nov 27, 2024
@mkernohanbc mkernohanbc linked an issue Nov 27, 2024 that may be closed by this pull request
@mkernohanbc mkernohanbc marked this pull request as ready for review November 27, 2024 18:28
Copy link
Contributor

@Supriya-Arora Supriya-Arora left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@mkernohanbc
Copy link
Contributor Author

Holding on merging until #500 is resolved.

@mkernohanbc mkernohanbc merged commit 65e4f1a into main Dec 11, 2024
4 checks passed
mkernohanbc added a commit that referenced this pull request Dec 11, 2024
* bump RAC to 1.5.0

* replace Section with ListBoxSection

* Revert "bump RAC to 1.5.0"

This reverts commit 75e05e7.

* Reapply "bump RAC to 1.5.0"

This reverts commit 0edc443.
@mkernohanbc mkernohanbc deleted the 503-select-listboxsection branch December 11, 2024 19:47
mkernohanbc added a commit that referenced this pull request Feb 3, 2025
* implement RAC Text

* scaffolding Text docs

* WIP on implementing BCDS typescale

* React Aria library update to 1.5.0

* Add Accordion and AccordionGroup components (#499)

* staging Accordion and AccordionGroup file structure

* bump RAC to 1.4.0

* basic shape of Accordion component

* tweak props import

* add story wireframe for Accordion

* styling accordion

* styling

* additional styling and alternative icon implementation

* refining button styling

* scaffolding AccordionGroup

* add title prop and styling to AccordionGroup

* continuing work on Accordion and AccordionGroup styling

* fix focus state for accordions inside accordiongroup

* fleshing out argTypes

* scaffolding accordion docs

* add examples to vite kitchen sink

* fleshing out examples on vite

* expanding stories and docs

* stories and docs

* typo

* renaming CSS classes to bcds-react-aria-* to match convention

* typo

* add comments to accordion group props

* remove unused CSS class

* bump RAC to 1.5.0

* update RAC imports

* Refactor Select to use ListBoxSection (#504)

* bump RAC to 1.5.0

* replace Section with ListBoxSection

* Revert "bump RAC to 1.5.0"

This reverts commit 75e05e7.

* Reapply "bump RAC to 1.5.0"

This reverts commit 0edc443.

* storybook library update to 8.4.7

* add TextProps, refining styling

* add missing CSS import

* fork Heading styles into new component

* add vite page for dev and testing

* demo content

* add text colour prop

* wireframing storybook docs

* add isUnstyled prop to Heading and Text

* docs and stories

* add color prop to Heading and flesh out docs

* add ARIA attribute to fix accessibility violation

* add explicit default elementType

* add missing elementType declaration

* docs edits

---------

Co-authored-by: Arora <[email protected]>
Co-authored-by: Supriya-Arora <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Select to use ListboxSection instead of Section
2 participants