@fluentui/react-radio 0.0.0-nightly-20220427-0422.1 → 0.0.0-nightly-20220428-0420.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@fluentui/react-radio",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 27 Apr 2022 04:31:07 GMT",
6
- "tag": "@fluentui/react-radio_v0.0.0-nightly-20220427-0422.1",
7
- "version": "0.0.0-nightly-20220427-0422.1",
5
+ "date": "Thu, 28 Apr 2022 04:29:39 GMT",
6
+ "tag": "@fluentui/react-radio_v0.0.0-nightly-20220428-0420.1",
7
+ "version": "0.0.0-nightly-20220428-0420.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -13,35 +13,47 @@
13
13
  "commit": "not available",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "seanmonahan@microsoft.com",
18
+ "package": "@fluentui/react-radio",
19
+ "commit": "8d990349b5af2d61057cccda2357412d2f5ab9b9",
20
+ "comment": "add bundle size fixtures"
21
+ },
22
+ {
23
+ "author": "seanmonahan@microsoft.com",
24
+ "package": "@fluentui/react-radio",
25
+ "commit": "5f27c51743f22f08741a75c2c10032a02afdf6fb",
26
+ "comment": "write readme"
27
+ },
16
28
  {
17
29
  "author": "beachball",
18
30
  "package": "@fluentui/react-radio",
19
- "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20220427-0422.1",
20
- "commit": "95709911c85add44b67724f7e02e4ce085f2890c"
31
+ "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20220428-0420.1",
32
+ "commit": "594dc819d26484ec1863d37916abf429520bace7"
21
33
  },
22
34
  {
23
35
  "author": "beachball",
24
36
  "package": "@fluentui/react-radio",
25
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20220427-0422.1",
26
- "commit": "95709911c85add44b67724f7e02e4ce085f2890c"
37
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20220428-0420.1",
38
+ "commit": "594dc819d26484ec1863d37916abf429520bace7"
27
39
  },
28
40
  {
29
41
  "author": "beachball",
30
42
  "package": "@fluentui/react-radio",
31
- "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220427-0422.1",
32
- "commit": "95709911c85add44b67724f7e02e4ce085f2890c"
43
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220428-0420.1",
44
+ "commit": "594dc819d26484ec1863d37916abf429520bace7"
33
45
  },
34
46
  {
35
47
  "author": "beachball",
36
48
  "package": "@fluentui/react-radio",
37
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220427-0422.1",
38
- "commit": "95709911c85add44b67724f7e02e4ce085f2890c"
49
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220428-0420.1",
50
+ "commit": "594dc819d26484ec1863d37916abf429520bace7"
39
51
  },
40
52
  {
41
53
  "author": "beachball",
42
54
  "package": "@fluentui/react-radio",
43
- "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220427-0422.1",
44
- "commit": "95709911c85add44b67724f7e02e4ce085f2890c"
55
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220428-0420.1",
56
+ "commit": "594dc819d26484ec1863d37916abf429520bace7"
45
57
  }
46
58
  ]
47
59
  }
package/CHANGELOG.md CHANGED
@@ -1,22 +1,24 @@
1
1
  # Change Log - @fluentui/react-radio
2
2
 
3
- This log was last generated on Wed, 27 Apr 2022 04:31:07 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 28 Apr 2022 04:29:39 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220427-0422.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v0.0.0-nightly-20220427-0422.1)
7
+ ## [0.0.0-nightly-20220428-0420.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v0.0.0-nightly-20220428-0420.1)
8
8
 
9
- Wed, 27 Apr 2022 04:31:07 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.4..@fluentui/react-radio_v0.0.0-nightly-20220427-0422.1)
9
+ Thu, 28 Apr 2022 04:29:39 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-radio_v9.0.0-beta.4..@fluentui/react-radio_v0.0.0-nightly-20220428-0420.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
15
- - Bump @fluentui/react-label to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
16
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
17
- - Bump @fluentui/react-theme to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
18
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
19
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220427-0422.1 ([commit](https://github.com/microsoft/fluentui/commit/95709911c85add44b67724f7e02e4ce085f2890c) by beachball)
15
+ - add bundle size fixtures ([PR #22675](https://github.com/microsoft/fluentui/pull/22675) by seanmonahan@microsoft.com)
16
+ - write readme ([PR #22676](https://github.com/microsoft/fluentui/pull/22676) by seanmonahan@microsoft.com)
17
+ - Bump @fluentui/react-label to v0.0.0-nightly-20220428-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/594dc819d26484ec1863d37916abf429520bace7) by beachball)
18
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20220428-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/594dc819d26484ec1863d37916abf429520bace7) by beachball)
19
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20220428-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/594dc819d26484ec1863d37916abf429520bace7) by beachball)
20
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20220428-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/594dc819d26484ec1863d37916abf429520bace7) by beachball)
21
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220428-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/594dc819d26484ec1863d37916abf429520bace7) by beachball)
20
22
 
21
23
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v9.0.0-beta.4)
22
24
 
package/README.md CHANGED
@@ -3,3 +3,42 @@
3
3
  **React Radio components for [Fluent UI React](https://developer.microsoft.com/en-us/fluentui)**
4
4
 
5
5
  These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
6
+
7
+ A Radio allows a user to select a single value from two or more options. All Radios with the same `name` are considered to be part of the same group. However, a `RadioGroup` is recommended to add a group label, formatting, and other functionality.
8
+
9
+ ### Usage
10
+
11
+ Import `Radio` and `RadioGroup`:
12
+
13
+ ```js
14
+ import { Radio, RadioGroup } from '@fluentui/react-radio';
15
+ ```
16
+
17
+ #### Examples
18
+
19
+ ```jsx
20
+ <RadioGroup defaultValue="B">
21
+ <Radio value="A" label="Option A" />
22
+ <Radio value="B" label="Option B" />
23
+ <Radio value="C" label="Option C" />
24
+ <Radio value="D" label="Option D" />
25
+ </RadioGroup>
26
+
27
+ <RadioGroup value={value} onChange={(_, data) => setValue(data.value)}>
28
+ <Radio value="A" label="Option A" />
29
+ <Radio value="B" label="Option B" />
30
+ <Radio value="C" label="Option C" />
31
+ <Radio value="D" label="Option D" />
32
+ </RadioGroup>
33
+ ```
34
+
35
+ See [Fluent UI Storybook](https://aka.ms/fluentui-storybook) for more detailed usage examples.
36
+
37
+ Alternatively, run Storybook locally with:
38
+
39
+ 1. `yarn start`
40
+ 2. Select `react-radio` from the list.
41
+
42
+ ### Specification
43
+
44
+ See [Spec.md](./Spec.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-radio",
3
- "version": "0.0.0-nightly-20220427-0422.1",
3
+ "version": "0.0.0-nightly-20220428-0420.1",
4
4
  "description": "Fluent UI Radio component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -13,6 +13,7 @@
13
13
  "license": "MIT",
14
14
  "scripts": {
15
15
  "build": "just-scripts build",
16
+ "bundle-size": "bundle-size measure",
16
17
  "clean": "just-scripts clean",
17
18
  "code-style": "just-scripts code-style",
18
19
  "just": "just-scripts",
@@ -27,14 +28,14 @@
27
28
  "devDependencies": {
28
29
  "@fluentui/eslint-plugin": "*",
29
30
  "@fluentui/react-conformance": "*",
30
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220427-0422.1"
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220428-0420.1"
31
32
  },
32
33
  "dependencies": {
33
34
  "@fluentui/react-icons": "^2.0.166-rc.3",
34
- "@fluentui/react-label": "0.0.0-nightly-20220427-0422.1",
35
- "@fluentui/react-tabster": "0.0.0-nightly-20220427-0422.1",
36
- "@fluentui/react-theme": "0.0.0-nightly-20220427-0422.1",
37
- "@fluentui/react-utilities": "0.0.0-nightly-20220427-0422.1",
35
+ "@fluentui/react-label": "0.0.0-nightly-20220428-0420.1",
36
+ "@fluentui/react-tabster": "0.0.0-nightly-20220428-0420.1",
37
+ "@fluentui/react-theme": "0.0.0-nightly-20220428-0420.1",
38
+ "@fluentui/react-utilities": "0.0.0-nightly-20220428-0420.1",
38
39
  "@griffel/react": "1.0.3",
39
40
  "tslib": "^2.1.0"
40
41
  },