@fluentui/react-radio 0.0.0-nightly-20220426-0421.1 → 0.0.0-nightly-20220429-0418.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@fluentui/react-radio",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 26 Apr 2022 04:32:37 GMT",
6
- "tag": "@fluentui/react-radio_v0.0.0-nightly-20220426-0421.1",
7
- "version": "0.0.0-nightly-20220426-0421.1",
5
+ "date": "Fri, 29 Apr 2022 04:27:31 GMT",
6
+ "tag": "@fluentui/react-radio_v0.0.0-nightly-20220429-0418.1",
7
+ "version": "0.0.0-nightly-20220429-0418.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-20220426-0421.1",
20
- "commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
31
+ "comment": "Bump @fluentui/react-label to v0.0.0-nightly-20220429-0418.1",
32
+ "commit": "cb8f7666b1b78401111aa400aae8923fd76daa02"
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-20220426-0421.1",
26
- "commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
37
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly-20220429-0418.1",
38
+ "commit": "cb8f7666b1b78401111aa400aae8923fd76daa02"
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-20220426-0421.1",
32
- "commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
43
+ "comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220429-0418.1",
44
+ "commit": "cb8f7666b1b78401111aa400aae8923fd76daa02"
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-20220426-0421.1",
38
- "commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
49
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220429-0418.1",
50
+ "commit": "cb8f7666b1b78401111aa400aae8923fd76daa02"
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-20220426-0421.1",
44
- "commit": "79b6612276e47635bfab1c8ed69ea0d65169e68c"
55
+ "comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220429-0418.1",
56
+ "commit": "cb8f7666b1b78401111aa400aae8923fd76daa02"
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 Tue, 26 Apr 2022 04:32:37 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 29 Apr 2022 04:27:31 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220426-0421.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v0.0.0-nightly-20220426-0421.1)
7
+ ## [0.0.0-nightly-20220429-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-radio_v0.0.0-nightly-20220429-0418.1)
8
8
 
9
- Tue, 26 Apr 2022 04:32:37 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-20220426-0421.1)
9
+ Fri, 29 Apr 2022 04:27:31 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-20220429-0418.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-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
16
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
17
- - Bump @fluentui/react-theme to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
18
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) by beachball)
19
- - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220426-0421.1 ([commit](https://github.com/microsoft/fluentui/commit/79b6612276e47635bfab1c8ed69ea0d65169e68c) 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-20220429-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/cb8f7666b1b78401111aa400aae8923fd76daa02) by beachball)
18
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20220429-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/cb8f7666b1b78401111aa400aae8923fd76daa02) by beachball)
19
+ - Bump @fluentui/react-theme to v0.0.0-nightly-20220429-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/cb8f7666b1b78401111aa400aae8923fd76daa02) by beachball)
20
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20220429-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/cb8f7666b1b78401111aa400aae8923fd76daa02) by beachball)
21
+ - Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220429-0418.1 ([commit](https://github.com/microsoft/fluentui/commit/cb8f7666b1b78401111aa400aae8923fd76daa02) 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).
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-radio",
3
- "version": "0.0.0-nightly-20220426-0421.1",
3
+ "version": "0.0.0-nightly-20220429-0418.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-20220426-0421.1"
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220429-0418.1"
31
32
  },
32
33
  "dependencies": {
33
34
  "@fluentui/react-icons": "^2.0.166-rc.3",
34
- "@fluentui/react-label": "0.0.0-nightly-20220426-0421.1",
35
- "@fluentui/react-tabster": "0.0.0-nightly-20220426-0421.1",
36
- "@fluentui/react-theme": "0.0.0-nightly-20220426-0421.1",
37
- "@fluentui/react-utilities": "0.0.0-nightly-20220426-0421.1",
35
+ "@fluentui/react-label": "0.0.0-nightly-20220429-0418.1",
36
+ "@fluentui/react-tabster": "0.0.0-nightly-20220429-0418.1",
37
+ "@fluentui/react-theme": "0.0.0-nightly-20220429-0418.1",
38
+ "@fluentui/react-utilities": "0.0.0-nightly-20220429-0418.1",
38
39
  "@griffel/react": "1.0.3",
39
40
  "tslib": "^2.1.0"
40
41
  },