Skip to content

Radio and RadioGroup: Move to Release Candidate#22819

Merged
spmonahan merged 5 commits into
microsoft:masterfrom
spmonahan:radio/move-to-rc
May 4, 2022
Merged

Radio and RadioGroup: Move to Release Candidate#22819
spmonahan merged 5 commits into
microsoft:masterfrom
spmonahan:radio/move-to-rc

Conversation

@spmonahan

Copy link
Copy Markdown
Contributor

Current Behavior

Radio and RadioGroup are exported from @fluentui/react-components/unstable

New Behavior

  1. Radio and RadioGroup are exported from @fluentui/react-components and not from /unstable
  2. Story location for RadioGroup is updated in Storybook
  3. Radio README.md demonstrates how to import controls from @fluentui/react-components

Related Issue(s)

Fixes #22680

@spmonahan spmonahan requested review from a team and behowell as code owners May 4, 2022 00:03
@khmakoto khmakoto changed the title Radio: Move to Release Candidate Radio and RadioGroup: Move to Release Candidate May 4, 2022
@codesandbox-ci

codesandbox-ci Bot commented May 4, 2022

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 4ee9ed8:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam

fabricteam commented May 4, 2022

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-radio
Radio
29.382 kB
10.047 kB
react-radio
RadioGroup
13.61 kB
5.462 kB
🤖 This report was generated against 271111345abe5d3f57bdd77aeaf757cd5fe958f1

@spmonahan spmonahan force-pushed the radio/move-to-rc branch from e1ffc4d to 9317fb4 Compare May 4, 2022 00:11
Comment thread packages/react-radio/src/index.ts Outdated
@fabricteam

fabricteam commented May 4, 2022

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 921 919 5000
Button mount 552 552 5000
FluentProvider mount 1869 1854 5000
FluentProviderWithTheme mount 266 264 10
FluentProviderWithTheme virtual-rerender 234 226 10
FluentProviderWithTheme virtual-rerender-with-unmount 315 288 10
MakeStyles mount 1575 1583 50000

@spmonahan spmonahan force-pushed the radio/move-to-rc branch from 9317fb4 to df7a250 Compare May 4, 2022 00:19
@Hotell

Hotell commented May 4, 2022

Copy link
Copy Markdown
Contributor

you'll need to re-generate *.api.md files.

  1. run yarn lage build --to @fluentui/react-components
  2. commit changed *.api.md files
  3. succeed

spmonahan added 2 commits May 4, 2022 11:31
- Export Radio and RadioGroup from @fluentui/react-components
- Remove Radio and RadioGroup exports from @fluentui/react-components/unstable
- Update RadioGroup story location in Storybook
- Update Radio README to demonstrate how to import the controls from
  react-components
@spmonahan spmonahan force-pushed the radio/move-to-rc branch from 5fe1455 to 426ee11 Compare May 4, 2022 18:32
@size-auditor

size-auditor Bot commented May 4, 2022

Copy link
Copy Markdown

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 271111345abe5d3f57bdd77aeaf757cd5fe958f1 (build)

@sopranopillow

Copy link
Copy Markdown
Contributor

I think the upgrade story for the v9 public docsite should also be updated, it currently exports from unstable.

@spmonahan spmonahan merged commit f628da4 into microsoft:master May 4, 2022
marwan38 pushed a commit to marwan38/fluentui that referenced this pull request Jun 13, 2022
* react-radio: move to release candidate

- Export Radio and RadioGroup from @fluentui/react-components
- Remove Radio and RadioGroup exports from @fluentui/react-components/unstable
- Update RadioGroup story location in Storybook
- Update Radio README to demonstrate how to import the controls from
  react-components

* react-components: update api snapshot

* react-components: update react-radio package version

Updates to @fluentui/[email protected] from
@fluentui/[email protected]

* vr-tests: update react-radio package version

* react-radio: update import path
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.

Radio/RadioGroup: Move to RC

8 participants